Fix var shadowing

This commit is contained in:
Gabe Kangas
2023-03-12 23:12:39 -07:00
parent cd0f92f496
commit 1055b1c42d

View File

@@ -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}
/> />
)} )}