From 98a1cc91a2ecb51a61ca7aa18bda5728e32392cd Mon Sep 17 00:00:00 2001 From: ajaysi Date: Fri, 8 May 2026 11:50:53 +0530 Subject: [PATCH] fix(01-code-splitting): convert ErrorBoundary MUI icons to individual imports - Converted 5 barrel imports (ErrorOutline, Refresh, Home, ExpandMore, BugReport) to per-file default imports - No JSX changes needed (aliases already matched variable names) --- frontend/src/components/shared/ErrorBoundary.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/shared/ErrorBoundary.tsx b/frontend/src/components/shared/ErrorBoundary.tsx index cdb6c66c..c33128e6 100644 --- a/frontend/src/components/shared/ErrorBoundary.tsx +++ b/frontend/src/components/shared/ErrorBoundary.tsx @@ -10,13 +10,11 @@ import { Collapse, Divider } from '@mui/material'; -import { - ErrorOutline as ErrorIcon, - Refresh as RefreshIcon, - Home as HomeIcon, - ExpandMore as ExpandMoreIcon, - BugReport as BugReportIcon -} from '@mui/icons-material'; +import ErrorIcon from '@mui/icons-material/ErrorOutline'; +import RefreshIcon from '@mui/icons-material/Refresh'; +import HomeIcon from '@mui/icons-material/Home'; +import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; +import BugReportIcon from '@mui/icons-material/BugReport'; interface ErrorBoundaryProps { children: ReactNode;