Skip to content

Commit 31999ac

Browse files
authored
Fix lint error in src/auth.tsx (#532)
1 parent eb1428b commit 31999ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function useUser<T = unknown>(options?: ReactFireOptions<T>): ObservableS
2424

2525
const observableId = `auth:user:${auth.name}`;
2626
const observable$ = user(auth);
27-
const _options: ReactFireOptions<T> = {...options} ?? {};
27+
const _options: ReactFireOptions<T> = { ...options } ?? {};
2828

2929
// only set/override initialData if auth has finished loading
3030
if (auth.currentUser !== undefined) {

0 commit comments

Comments
 (0)