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)
This commit is contained in:
@@ -10,13 +10,11 @@ import {
|
|||||||
Collapse,
|
Collapse,
|
||||||
Divider
|
Divider
|
||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
import {
|
import ErrorIcon from '@mui/icons-material/ErrorOutline';
|
||||||
ErrorOutline as ErrorIcon,
|
import RefreshIcon from '@mui/icons-material/Refresh';
|
||||||
Refresh as RefreshIcon,
|
import HomeIcon from '@mui/icons-material/Home';
|
||||||
Home as HomeIcon,
|
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
||||||
ExpandMore as ExpandMoreIcon,
|
import BugReportIcon from '@mui/icons-material/BugReport';
|
||||||
BugReport as BugReportIcon
|
|
||||||
} from '@mui/icons-material';
|
|
||||||
|
|
||||||
interface ErrorBoundaryProps {
|
interface ErrorBoundaryProps {
|
||||||
children: ReactNode;
|
children: ReactNode;
|
||||||
|
|||||||
Reference in New Issue
Block a user