This commit was merged in pull request #1.
This commit is contained in:
Ebube
2023-10-17 00:33:47 +01:00
parent 97cb3b2e70
commit 122e2c59b8
+1 -1
View File
@@ -10,7 +10,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("/authentication/sign-in/");