Skip to content

Commit

Permalink
Fix lint error in src/auth.tsx (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwhogg authored Aug 3, 2022
1 parent eb1428b commit 31999ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function useUser<T = unknown>(options?: ReactFireOptions<T>): ObservableS

const observableId = `auth:user:${auth.name}`;
const observable$ = user(auth);
const _options: ReactFireOptions<T> = {...options} ?? {};
const _options: ReactFireOptions<T> = { ...options } ?? {};

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

0 comments on commit 31999ac

Please sign in to comment.