Home / Function/ LoginHint() — supabase Function Reference

LoginHint() — supabase Function Reference

Architecture documentation for the LoginHint() function in ProjectConfigVariables.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx lines 436–456

function LoginHint({ variable }: { variable: Variable }) {
  const isUserLoading = useIsUserLoading()
  const isLoggedIn = useIsLoggedIn()

  if (isUserLoading || isLoggedIn) return null

  return (
    <p className="text-foreground-muted text-sm mt-2 mb-0 ml-1">
      To get your {prettyFormatVariable[variable]},{' '}
      <Link
        className="text-foreground-muted"
        href="https://supabase.com/dashboard"
        rel="noreferrer noopener"
        target="_blank"
      >
        log in
      </Link>
      .
    </p>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free