Working on settings Page. Adding init function on next.js startup.

This commit is contained in:
charles-gauthereau
2024-11-17 11:45:22 +01:00
parent 85ecfed50d
commit 84b1812095
3 changed files with 17 additions and 1 deletions
-1
View File
@@ -18,7 +18,6 @@ export default async function Layout({children}: { children: React.ReactNode })
email: user?.email
}
})
if(userInfo){
redirect('/login')
}