app.use(cors({credentials: true, origin: process.env.CLIENT_URL}))CLIENT_URL=http://secret:3000 const modal = new Modal(document.getElementById('defaultModal'), null).show();Uncaught ReferenceError: Modal is not definedif (localStorage.getItem('token')) verifyAuthentication()
if (store.getState().auth.loading && !store.getState().auth.authResponse?.user) return <Spinner/>
if (!store.getState().auth.loading && store.getState().auth.authResponse.user) return <Dashboard/>
if (!store.getState().auth.loading && !store.getState().auth.authResponse) return <Authentication/>
может в целом комп ребутнуть еще)))