Skip to content

Commit c8392a9

Browse files
committed
Fix test
1 parent 4f4b159 commit c8392a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/current-user/useCurrentUser.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ test('use current user primitive', () => {
2626
meta: { foo: 1 }
2727
});
2828

29-
const [currentUser, { authenticationStatus, meta }] = useCurrentUser<User>();
29+
const [currentUser, { authenticationStatus, meta }] = useCurrentUser<User, { foo: number }>();
3030

3131
expect(currentUser.loading).toBe(false);
3232
expect(currentUser()?.name).toBe('John');

0 commit comments

Comments
 (0)