Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

322 B
Raw Blame
import { useAuth } from "@editor/auth/UseSession";

export function useProfilePictureUrl(): string | null {
  return useAuth().profilePictureUrl;
}

/** Whether the current user's initial picture lookup is still pending. */
export function useProfilePictureLoading(): boolean {
  return useAuth().profilePictureLoading;
}