diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index 629f0a2d89..0baa6db0f8 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -169,12 +169,12 @@ fetchInstanceMetaPromise.then(() => { }); const app = createApp( - window.location.search === '?zen' ? defineAsyncComponent(() =>import('@/ui/zen.vue')) : - !$i ? defineAsyncComponent(() =>import('@/ui/visitor.vue')) : - ui === 'deck' ? defineAsyncComponent(() =>import('@/ui/deck.vue')) : - ui === 'desktop' ? defineAsyncComponent(() =>import('@/ui/desktop.vue')) : - ui === 'classic' ? defineAsyncComponent(() =>import('@/ui/classic.vue')) : - defineAsyncComponent(() =>import('@/ui/universal.vue')) + window.location.search === '?zen' ? defineAsyncComponent(() => import('@/ui/zen.vue')) : + !$i ? defineAsyncComponent(() => import('@/ui/visitor.vue')) : + ui === 'deck' ? defineAsyncComponent(() => import('@/ui/deck.vue')) : + ui === 'desktop' ? defineAsyncComponent(() => import('@/ui/desktop.vue')) : + ui === 'classic' ? defineAsyncComponent(() => import('@/ui/classic.vue')) : + defineAsyncComponent(() => import('@/ui/universal.vue')) ); if (_DEV_) {