Skip to content

Commit 5574044

Browse files
ThomasRoestThomas Roest
andauthored
fix: remove some unnecessary ignores (#2160)
Co-authored-by: Thomas Roest <[email protected]>
1 parent e81b3da commit 5574044

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/client/rsg-components/Preview/Preview.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ export default class Preview extends Component<PreviewProps, PreviewState> {
106106
this.reactRoot.render(wrappedComponent);
107107
}
108108
} catch (err) {
109-
/* istanbul ignore next: it is near-impossible to trigger a sync error from ReactDOM.render */
110109
if (err instanceof Error) {
111-
/* istanbul ignore next */
112110
this.handleError(err);
113111
}
114112
}

0 commit comments

Comments
 (0)