Skip to content

Commit 6621027

Browse files
committed
Couple of little fixes
1 parent a6eb9f2 commit 6621027

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

auth/useAuthState.ts

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

55
export type AuthStateHook = {
66
user?: firebase.User;

database/useList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default (query: database.Query): ListHook => {
167167
return {
168168
error: state.error,
169169
loading: state.loading,
170-
value: state.value,
170+
value: state.value.values,
171171
};
172172
};
173173

0 commit comments

Comments
 (0)