Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix var shadowing

Gabe Kangas873a811b61bd
diff --git a/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx b/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx
index 96ee7c3d45..5fbe554773 100644
--- a/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx
+++ b/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx
@@ -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}
/>
)}