From ad50952cf57bd949f84bc2f1c491831378382e93 Mon Sep 17 00:00:00 2001 From: Tainan Felipe Date: Mon, 25 Sep 2023 10:17:39 -0300 Subject: [PATCH] Fix: missing export --- bigbluebutton-html5/imports/ui/core/hooks/useCurrentUser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/core/hooks/useCurrentUser.ts b/bigbluebutton-html5/imports/ui/core/hooks/useCurrentUser.ts index db4b8ab26f..84f5058078 100644 --- a/bigbluebutton-html5/imports/ui/core/hooks/useCurrentUser.ts +++ b/bigbluebutton-html5/imports/ui/core/hooks/useCurrentUser.ts @@ -4,7 +4,7 @@ import { User } from '../../Types/user'; const useCurrentUserSubscription = createUseSubscription>(CURRENT_USER_SUBSCRIPTION, false); -const useCurrentUser = (fn: (c: Partial) => Partial) => { +export const useCurrentUser = (fn: (c: Partial) => Partial) => { const currentUser = useCurrentUserSubscription(fn)[0]; return currentUser; };