From 34e1bbad502f442df24e47614ec8206024640e2d Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Fri, 11 Aug 2023 23:59:22 -0400 Subject: [PATCH] Fix potential SSR issue --- .../global-toolbar/items/quick-search-bar.svelte | 11 ++++++++++- src/lib/services/utils/events.js | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/lib/components/global/global-toolbar/items/quick-search-bar.svelte b/src/lib/components/global/global-toolbar/items/quick-search-bar.svelte index 21bc30ed..aa6121e6 100644 --- a/src/lib/components/global/global-toolbar/items/quick-search-bar.svelte +++ b/src/lib/components/global/global-toolbar/items/quick-search-bar.svelte @@ -1,5 +1,6 @@ /** @type {any} */ (navigator).userAgentData?.platform === 'macOS' || navigator.platform.startsWith('Mac');