Fix: missing export
This commit is contained in:
parent
09e3fb3f83
commit
ad50952cf5
@ -4,7 +4,7 @@ import { User } from '../../Types/user';
|
||||
|
||||
const useCurrentUserSubscription = createUseSubscription<Partial<User>>(CURRENT_USER_SUBSCRIPTION, false);
|
||||
|
||||
const useCurrentUser = (fn: (c: Partial<User>) => Partial<User>) => {
|
||||
export const useCurrentUser = (fn: (c: Partial<User>) => Partial<User>) => {
|
||||
const currentUser = useCurrentUserSubscription(fn)[0];
|
||||
return currentUser;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user