diff --git a/src/App.jsx b/src/App.jsx index 24ae2d50..4a2ecd85 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -119,25 +119,14 @@ class App extends Component { const showLogin = !MyCommaAuth.isAuthenticated() && !isDemo() && !getZoom(window.location.pathname) && !getClipsNav(window.location.pathname)?.clip_id; - let content = ( - - { showLogin ? this.anonymousRoutes() : this.authRoutes() } - - ); - - // Use ErrorBoundary in production only - if (import.meta.env.PROD) { - content = ( - }> - {content} - - ); - } - return ( - {content} + }> + + { showLogin ? this.anonymousRoutes() : this.authRoutes() } + + );