From 8b7dcf4dba745b4bb10d0cc0b20bc57e33aa497e Mon Sep 17 00:00:00 2001 From: Johann150 Date: Wed, 29 Jun 2022 17:44:03 +0200 Subject: [PATCH] fix 'assignment to const' error --- packages/client/src/ui/classic.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/ui/classic.vue b/packages/client/src/ui/classic.vue index f5fa8f336a..412b6db34c 100644 --- a/packages/client/src/ui/classic.vue +++ b/packages/client/src/ui/classic.vue @@ -57,7 +57,7 @@ const XWidgets = defineAsyncComponent(() => import('./classic.widgets.vue')); const DESKTOP_THRESHOLD = 1100; -const isDesktop = ref(window.innerWidth >= DESKTOP_THRESHOLD); +let isDesktop = $ref(window.innerWidth >= DESKTOP_THRESHOLD); let pageMetadata = $ref>(); const widgetsShowing = $ref(false);