feat: align auth api with front convention (#370)
* feat: align auth api with front convention * fix: email password auth * fix: proper file naming * Fix login --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
9
front/src/providers/user/UserProvider.tsx
Normal file
9
front/src/providers/user/UserProvider.tsx
Normal file
@ -0,0 +1,9 @@
|
||||
import { useFetchCurrentUser } from '@/auth/hooks/useFetchCurrentUser';
|
||||
|
||||
export const UserProvider: React.FC<React.PropsWithChildren> = ({
|
||||
children,
|
||||
}) => {
|
||||
useFetchCurrentUser();
|
||||
|
||||
return <>{children}</>;
|
||||
};
|
||||
Reference in New Issue
Block a user