mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 19:11:10 +10:00
fixes
* integrate websocket redis adapter * use APP_SECRET for jwt signing * auto migrate database on startup in production * add updatedAt to update db operations * create enterprise ee package directory * fix comment editor focus * other fixes
This commit is contained in:
@ -15,7 +15,7 @@ export function UserProvider({ children }: React.PropsWithChildren) {
|
||||
|
||||
if (isLoading) return <></>;
|
||||
|
||||
if (!data.user && !data.workspace) return <></>;
|
||||
if (!data?.user && !data?.workspace) return <></>;
|
||||
|
||||
if (error) {
|
||||
return <>an error occurred</>;
|
||||
|
||||
Reference in New Issue
Block a user