mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
4 lines
180 B
TypeScript
4 lines
180 B
TypeScript
import { useShallowSelect } from '~/utils/hooks/useShallowSelect';
|
|
import { selectUser } from '~/redux/auth/selectors';
|
|
|
|
export const useUser = () => useShallowSelect(selectUser);
|