From c9642c525ceee7fa1a7d2864d197087127ed9744 Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Thu, 3 Aug 2023 08:45:26 +0700 Subject: [PATCH] add more --- src/components/ErrorBoundary/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ErrorBoundary/index.tsx b/src/components/ErrorBoundary/index.tsx index f3d689499f..057aa2403a 100644 --- a/src/components/ErrorBoundary/index.tsx +++ b/src/components/ErrorBoundary/index.tsx @@ -29,6 +29,7 @@ export default class ErrorBoundary extends React.Component< error.name === 'ChunkLoadError' || /Loading .*?chunk .*? failed/.test(error.message) || error.message.includes('Importing a module script failed') || + error.message.includes('error loading dynamically imported module') || error.message.includes('Failed to fetch dynamically imported module') || error.stack?.includes('Failed to fetch dynamically imported module') ) {