This commit is contained in:
parent
e1192ac3c8
commit
8c63dd5057
|
|
@ -153,7 +153,7 @@ export default function SetupPage() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleSaveSetupSetting = async () => {
|
const handleSaveSetupSetting = async () => {
|
||||||
|
const supabase = await createClient()
|
||||||
const session = (await supabase.auth.getSession()).data.session
|
const session = (await supabase.auth.getSession()).data.session
|
||||||
if (!session) {
|
if (!session) {
|
||||||
// return router.push(`/${locale}/login`)
|
// return router.push(`/${locale}/login`)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue