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