SessionContext: {
    error: null;
    isLoading: true;
    session: null;
    supabaseClient: SupabaseClient;
} | {
    error: null;
    isLoading: false;
    session: Session;
    supabaseClient: SupabaseClient;
} | {
    error: AuthError;
    isLoading: false;
    session: null;
    supabaseClient: SupabaseClient;
} | {
    error: null;
    isLoading: false;
    session: null;
    supabaseClient: SupabaseClient;
}

Type declaration

  • error: null
  • isLoading: true
  • session: null
  • supabaseClient: SupabaseClient

Type declaration

  • error: null
  • isLoading: false
  • session: Session
  • supabaseClient: SupabaseClient

Type declaration

  • error: AuthError
  • isLoading: false
  • session: null
  • supabaseClient: SupabaseClient

Type declaration

  • error: null
  • isLoading: false
  • session: null
  • supabaseClient: SupabaseClient