Skip to content

Commit 4c0b4b6

Browse files
authored
fix(deps): upgrade @stoplight/react-error-boundary to v2 (#167)
1 parent 39ad9e6 commit 4c0b4b6

File tree

3 files changed

+145
-630
lines changed

3 files changed

+145
-630
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@fortawesome/free-solid-svg-icons": "^5.15.2",
4949
"@stoplight/json": "^3.10.0",
5050
"@stoplight/json-schema-tree": "^2.1.1",
51-
"@stoplight/react-error-boundary": "^1.0.0",
51+
"@stoplight/react-error-boundary": "^2.0.0",
5252
"@types/json-schema": "^7.0.7",
5353
"classnames": "^2.2.6",
5454
"lodash": "^4.17.19"

src/components/JsonSchemaViewer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,4 @@ const JsonSchemaFallbackComponent: React.FC<FallbackProps> = ({ error }) => {
118118
export const JsonSchemaViewer = withErrorBoundary<JsonSchemaProps>(JsonSchemaViewerComponent, {
119119
FallbackComponent: JsonSchemaFallbackComponent,
120120
recoverableProps: ['schema'],
121-
reportErrors: false,
122121
});

0 commit comments

Comments
 (0)