mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
fix: redirection from index page
This commit is contained in:
@@ -131,7 +131,7 @@ export const UserProvider = ({ children }: { children: ReactElement }) => {
|
||||
<UserContext.Provider
|
||||
value={{
|
||||
user: error ? undefined : data,
|
||||
isUserLoading: !(!!data || !!error),
|
||||
isUserLoading: Boolean(data === undefined && error === undefined),
|
||||
mutateUser: mutate,
|
||||
activeWorkspace: workspaceError ? undefined : activeWorkspace,
|
||||
mutateWorkspaces: mutateWorkspaces,
|
||||
|
||||
Reference in New Issue
Block a user