performance improvements

This commit is contained in:
Rotimi Best
2026-03-28 20:42:37 +01:00
parent c58953a018
commit 4fd565a18e
5 changed files with 30 additions and 8 deletions
+1 -3
View File
@@ -1,7 +1,7 @@
<script lang="ts">
import { page } from '$app/state';
import { OrgLandingPage, PlayQuiz } from '$features/org';
import { OrgLandingPage } from '$features/org';
import { Snackbar } from '$features/ui';
import { UpgradeModal, PageLoadProgress, PageRestricted } from '$features/ui';
import { user } from '$lib/utils/store/user';
@@ -144,8 +144,6 @@
{#if data.org?.isRestricted || $currentOrg.isRestricted}
<PageRestricted />
{:else if data.skipAuth}
<PlayQuiz />
{:else if data.isOrgSite && data.org && path === '/'}
<OrgLandingPage orgSiteName={data.orgSiteName} org={data.org} />
{:else}