feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -31,6 +31,7 @@ class ErrorBoundary extends React.Component<
|
||||
return this.props.fallback
|
||||
}
|
||||
|
||||
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
|
||||
return <h2>Something went wrong.</h2>
|
||||
}
|
||||
return this.props.children
|
||||
|
||||
Reference in New Issue
Block a user