We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb1428b commit 31999acCopy full SHA for 31999ac
src/auth.tsx
@@ -24,7 +24,7 @@ export function useUser<T = unknown>(options?: ReactFireOptions<T>): ObservableS
24
25
const observableId = `auth:user:${auth.name}`;
26
const observable$ = user(auth);
27
- const _options: ReactFireOptions<T> = {...options} ?? {};
+ const _options: ReactFireOptions<T> = { ...options } ?? {};
28
29
// only set/override initialData if auth has finished loading
30
if (auth.currentUser !== undefined) {
0 commit comments