fix: space project board pageType change from authenticated to public

This commit is contained in:
Anmol Singh Bhatia 2024-05-10 14:09:59 +05:30
parent 243680132e
commit e148095004
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export const AuthWrapper: FC<TAuthWrapper> = observer((props) => {
revalidateOnFocus: false,
});
if (isSWRLoading || isLoading)
if (isSWRLoading || (isLoading && pageType === EPageTypes.AUTHENTICATED))
return (
<div className="relative flex h-screen w-full items-center justify-center">
<Spinner />

View File

@ -33,7 +33,7 @@ const WorkspaceProjectPage = (props: any) => {
});
return (
<AuthWrapper pageType={EPageTypes.AUTHENTICATED}>
<AuthWrapper pageType={EPageTypes.PUBLIC}>
<ProjectLayout>
<Head>
<title>{SITE_TITLE}</title>