diff --git a/src/runtime/composables/useSupabaseSession.ts b/src/runtime/composables/useSupabaseSession.ts index efcc748d5..b45804b74 100644 --- a/src/runtime/composables/useSupabaseSession.ts +++ b/src/runtime/composables/useSupabaseSession.ts @@ -5,4 +5,4 @@ import { useState, type Ref } from '#imports' * Reactive `Session` state from Supabase. This is initialized in both client and server plugin * and, on the client, also updated through `onAuthStateChange` events. */ -export const useSupabaseSession = (): Ref => useState('supabase_session', () => null) +export const useSupabaseSession = (): Ref => useState('supabase_session', () => null) diff --git a/src/runtime/composables/useSupabaseUser.ts b/src/runtime/composables/useSupabaseUser.ts index a72d4a1c9..3b98838be 100644 --- a/src/runtime/composables/useSupabaseUser.ts +++ b/src/runtime/composables/useSupabaseUser.ts @@ -5,4 +5,4 @@ import { useState, type Ref } from '#imports' * Reactive `User` state from Supabase. This is initialized in both client and server plugin * and, on the client, also updated through `onAuthStateChange` events. */ -export const useSupabaseUser = (): Ref => useState('supabase_user', () => null) +export const useSupabaseUser = (): Ref => useState('supabase_user', () => null) diff --git a/tsconfig.json b/tsconfig.json index dec7d13cd..dfaf3c6d8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,3 @@ { "extends": "./.nuxt/tsconfig.json", - "compilerOptions": { - "strictNullChecks": false, - } }