mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-05 20:21:50 +02:00
♻️ Create guest user in middleware (#927)
This commit is contained in:
parent
25da819774
commit
e65850370f
2 changed files with 25 additions and 1 deletions
|
@ -82,7 +82,7 @@ export const UserProvider = (props: { children?: React.ReactNode }) => {
|
|||
}
|
||||
}, [session.status]);
|
||||
|
||||
if (!user || !session.data) {
|
||||
if (!user) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue