Detect time zone change (#1254)

This commit is contained in:
Luke Vella 2024-08-10 18:17:47 +01:00 committed by GitHub
parent acb7aa88da
commit 7255130699
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 192 additions and 2 deletions

View file

@ -78,6 +78,7 @@ export const UserProvider = (props: { children?: React.ReactNode }) => {
email: user.email || null,
isGuest: !user.email,
tier,
timeZone: user.timeZone ?? null,
},
refresh: session.update,
ownsObject: ({ userId }) => {