From 1ff6a1be9e9beec33eac3a68e14dc8bee9bbdf8a Mon Sep 17 00:00:00 2001 From: ledouxm Date: Tue, 10 Dec 2024 17:52:03 +0100 Subject: [PATCH] feat: disable web worker if firefox --- packages/frontend/src/components/CompatibilityAlert.tsx | 3 ++- packages/frontend/src/db/db.ts | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/CompatibilityAlert.tsx b/packages/frontend/src/components/CompatibilityAlert.tsx index 1656f65..8a64371 100644 --- a/packages/frontend/src/components/CompatibilityAlert.tsx +++ b/packages/frontend/src/components/CompatibilityAlert.tsx @@ -6,7 +6,8 @@ const browser = Bowser.getParser(window.navigator.userAgent); const isWrongVersion = browser.getBrowser().name === "Firefox" && browser.getBrowserVersion().startsWith("102"); export const CompatibilityAlert = () => { - if (!isWrongVersion) return null; + // if (!isWrongVersion) return null; + return null; return (