From 1862d83f9f1683cb5ae852ee53d2426fc39c903f Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 12 Jun 2023 13:20:30 -0700 Subject: [PATCH] chore: formatting --- packages/client/src/ui/universal.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/client/src/ui/universal.vue b/packages/client/src/ui/universal.vue index 13dd8d4faa..01141fc61b 100644 --- a/packages/client/src/ui/universal.vue +++ b/packages/client/src/ui/universal.vue @@ -331,10 +331,11 @@ async function startGroup(): void { onMounted(() => { if (!isDesktop.value) { - matchMedia(`(min-width: ${DESKTOP_THRESHOLD - 1}px)`).onchange = (mql) => { - if (mql.matches) - isDesktop.value = true; - } + matchMedia(`(min-width: ${DESKTOP_THRESHOLD - 1}px)`).onchange = ( + mql + ) => { + if (mql.matches) isDesktop.value = true; + }; } }); @@ -392,7 +393,7 @@ const attachSticky = (el: any) => { } else { widgetsEl.classList.add("hide-scrollbar"); } - } + }; }; function top() {