From bfa006b62e06645c98b9cc554a17f193a23c20fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Thu, 25 Aug 2022 18:02:15 +0200 Subject: [PATCH] Fix firefox error on offline page for lazy import --- site/source/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/source/App.tsx b/site/source/App.tsx index 1c90d2238..584ad2104 100644 --- a/site/source/App.tsx +++ b/site/source/App.tsx @@ -97,7 +97,7 @@ const Router = () => { } const CatchOffline = ({ error }: ComponentProps) => { - if (error.message.includes('Failed to fetch dynamically imported module')) { + if (error.message.includes('dynamically imported module')) { return } else { throw error