♻️ Create guest user in middleware (#927)

This commit is contained in:
Luke Vella 2023-11-04 13:50:15 +00:00 committed by GitHub
parent 25da819774
commit e65850370f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 1 deletions

View file

@ -82,7 +82,7 @@ export const UserProvider = (props: { children?: React.ReactNode }) => {
}
}, [session.status]);
if (!user || !session.data) {
if (!user) {
return null;
}