Fix var shadowing
This commit is contained in:
parent
cd0f92f496
commit
1055b1c42d
@ -113,10 +113,10 @@ export const BrowserNotifyModal = () => {
|
||||
return (
|
||||
<ErrorBoundary
|
||||
// eslint-disable-next-line react/no-unstable-nested-components
|
||||
fallbackRender={({ error, resetErrorBoundary }) => (
|
||||
fallbackRender={({ error: e, resetErrorBoundary }) => (
|
||||
<ComponentError
|
||||
componentName="BrowserNotifyModal"
|
||||
message={error.message}
|
||||
message={e.message}
|
||||
retryFunction={resetErrorBoundary}
|
||||
/>
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user