From 668bc411af0e8d396b42d23508e2a5a8761b3b39 Mon Sep 17 00:00:00 2001 From: Thomas Roest Date: Fri, 19 Jan 2024 12:55:42 +0100 Subject: [PATCH] fix: remove some unnecessary ignores --- src/client/rsg-components/Preview/Preview.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client/rsg-components/Preview/Preview.tsx b/src/client/rsg-components/Preview/Preview.tsx index a2e4a82c3..3f64fa978 100644 --- a/src/client/rsg-components/Preview/Preview.tsx +++ b/src/client/rsg-components/Preview/Preview.tsx @@ -106,9 +106,7 @@ export default class Preview extends Component { this.reactRoot.render(wrappedComponent); } } catch (err) { - /* istanbul ignore next: it is near-impossible to trigger a sync error from ReactDOM.render */ if (err instanceof Error) { - /* istanbul ignore next */ this.handleError(err); } }