Browse Source

Fix var shadowing

pull/2815/head
Gabe Kangas 2 years ago
parent
commit
1055b1c42d
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 4
      web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx

4
web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx

@ -113,10 +113,10 @@ export const BrowserNotifyModal = () => { @@ -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…
Cancel
Save