Skip to content

Commit 17b2404

Browse files
committed
[auth] Fix import/export path on useIdToken
1 parent 593f479 commit 17b2404

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

auth/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ export {
4040
useVerifyBeforeUpdateEmail,
4141
VerifyBeforeUpdateEmailHook,
4242
} from './useUpdateUser';
43+
export { default as useIdToken, IdTokenHook } from './useIdToken';

auth/useIdToken.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Auth, onIdTokenChanged, User } from 'firebase/auth';
22
import { useEffect } from 'react';
3-
import { LoadingHook, useLoadingValue } from '../util/dist/util';
3+
import { LoadingHook, useLoadingValue } from '../util';
44

55
export type IdTokenHook = LoadingHook<User | null, Error>;
66

0 commit comments

Comments
 (0)