Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

265 B
Raw Blame
import { LOCAL_STORAGE_KEYS } from 'common'

import { useLocalStorage } from './useLocalStorage'

export type LastSignInType = string | null

export function useLastSignIn() {
  return useLocalStorage<LastSignInType>(LOCAL_STORAGE_KEYS.LAST_SIGN_IN_METHOD, null)
}