Add error boundary to BrowserNotifyModal. For #2811

This commit is contained in:
Gabe Kangas
2023-03-12 23:05:21 -07:00
parent 02e937c351
commit 170a3ecde1
2 changed files with 23 additions and 10 deletions

View File

@@ -72,7 +72,7 @@ export const AuthModal: FC<AuthModalProps> = ({ forceTabs }) => {
// eslint-disable-next-line react/no-unstable-nested-components
fallbackRender={({ error, resetErrorBoundary }) => (
<ComponentError
componentName="ChatContainer"
componentName="AuthModal"
message={error.message}
retryFunction={resetErrorBoundary}
/>