fix: 2
This commit is contained in:
@@ -5,9 +5,9 @@ import { Layout } from "@/app/providers/layout/layout";
|
||||
export const DefaultLayout = () => {
|
||||
const { token } = useAuthStore();
|
||||
|
||||
if (!token) {
|
||||
return <Navigate to="/auth" replace />;
|
||||
}
|
||||
// if (!token) {
|
||||
// return <Navigate to="/auth" replace />;
|
||||
// }
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
|
||||
Reference in New Issue
Block a user