Skip to content

Commit d85437d

Browse files
JackLianliujuping
authored andcommitted
fix: fix lint issues for renderer-core/renderer/base
1 parent 4b59190 commit d85437d

File tree

1 file changed

+3
-3
lines changed
  • packages/renderer-core/src/renderer

1 file changed

+3
-3
lines changed

packages/renderer-core/src/renderer/base.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ export default function baseRendererFactory(): IBaseRenderComponent {
151151
this.__debug(`componentWillUnmount - ${this.props?.__schema?.fileName}`);
152152
}
153153

154-
async componentDidCatch(e: any, ...args: any[]) {
155-
this.__setLifeCycleMethods('componentDidCatch', { e, ...args });
156-
console.warn(e);
154+
async componentDidCatch(...args: any[]) {
155+
this.__setLifeCycleMethods('componentDidCatch', args);
156+
console.warn(args);
157157
}
158158

159159
reloadDataSource = () => new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)