diff --git a/src/Layout/Ui/NotFoundPage.tsx b/src/Layout/Ui/NotFoundPage.tsx
index 4cf3039..3fdde04 100644
--- a/src/Layout/Ui/NotFoundPage.tsx
+++ b/src/Layout/Ui/NotFoundPage.tsx
@@ -1,10 +1,11 @@
import React from "react";
import { useNavigate } from "react-router-dom";
+import ProtectedRouteProvider from "../../lib/ProtectedRouteProvider";
function NotFoundPage() {
const navigate = useNavigate();
return (
-
+
404
|
This page could not be found
@@ -14,7 +15,7 @@ function NotFoundPage() {
-
+
);
}
diff --git a/src/zustand/AuthState.ts b/src/zustand/AuthState.ts
index 78a1b04..c023f39 100644
--- a/src/zustand/AuthState.ts
+++ b/src/zustand/AuthState.ts
@@ -14,7 +14,7 @@ interface AuthStore {
const useAuthState = create((set) => {
const storedToken = localStorage.getItem(TOKEN_KEY);
const storedAbilities = localStorage.getItem(ABILITIES_KEY);
-
+
return {
isAuthenticated: !!storedToken,
token: storedToken,