Changed admin #6

Merged
ameye merged 1 commits from auth-wallpaper into master 2023-10-20 13:57:53 +00:00
+1 -1
View File
@@ -11,7 +11,7 @@ const AuthRoute = ({ children }) => {
const router = useRouter();
useEffect(() => {
const isAuthenticated = true; // In a real application, this would be determined based on the user's authentication status.
const isAuthenticated = false; // In a real application, this would be determined based on the user's authentication status.
if (!isAuthenticated) {
router.push("/auth/sign-in");