fix 'assignment to const' error

This commit is contained in:
Johann150 2022-06-29 17:44:03 +02:00
parent 99dcd7bb27
commit 8b7dcf4dba
No known key found for this signature in database
GPG key ID: 9EE6577A2A06F8F1

View file

@ -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<null | ComputedRef<PageMetadata>>();
const widgetsShowing = $ref(false);