From 96e57595a6e4fd0a7d6b6cce5e094d55628d1fd5 Mon Sep 17 00:00:00 2001 From: tamaina Date: Wed, 27 Apr 2022 06:07:12 +0000 Subject: [PATCH] clean up --- packages/client/src/init.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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_) {