Fix firefox error on offline page for lazy import

pull/2254/head
Jérémy Rialland 2022-08-25 18:02:15 +02:00 committed by Jérémy Rialland
parent f108a6d7d1
commit bfa006b62e
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ const Router = () => {
}
const CatchOffline = ({ error }: ComponentProps<FallbackRender>) => {
if (error.message.includes('Failed to fetch dynamically imported module')) {
if (error.message.includes('dynamically imported module')) {
return <Offline />
} else {
throw error