Skip to content

The open alternative to Salesforce, designed for AI.

258 B
Raw Blame
import { isCookieAuthActiveState } from '@/auth/states/isCookieAuthActiveState';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';

export const useIsLogged = (): boolean =>
  useAtomStateValue(isCookieAuthActiveState);