We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a796a2a commit 8051228Copy full SHA for 8051228
2 files changed
src/features/auth/types/index.ts
@@ -1,4 +1,5 @@
1
export type User = {
2
+ id: string
3
name: string
4
imageURL?: string
5
streak?: number
src/providers/AuthProvider.tsx
@@ -26,6 +26,7 @@ export const AuthProvider = ({ children }: { children: React.ReactNode }) => {
26
27
initState({
28
user: {
29
+ id: user.uid,
30
name: user.displayName || 'Anonymous',
31
imageURL: user.photoURL || '',
32
},
0 commit comments