Skip to content

Commit a520a30

Browse files
committed
fix: separate components from @mui/material/styles
issue: vercel/next.js#55663
1 parent fbbbd60 commit a520a30

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/_components/Drawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client'
22
import MuiDrawer, { DrawerProps } from '@mui/material/Drawer';
3-
import { styled,Theme, CSSObject } from '@mui/material';
3+
import { styled,Theme, CSSObject } from '@mui/material/styles';
44
import { useState } from "react";
55
import IconButton from '@mui/material/IconButton'
66
import {Bars3Icon} from '@heroicons/react/24/outline'

app/_components/ExpandedTableRow.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
'use client'
22
import TableRow, { TableRowProps } from '@mui/material/TableRow';
33
import TableCell from '@mui/material/TableCell';
4+
import { SxProps, Theme } from '@mui/material/styles';
45
import Box from '@mui/material/Box';
56
import Collapse from '@mui/material/Collapse';
67
import IconButton from '@mui/material/IconButton';
78
import React, { useState } from 'react';
89
import { ChevronDownIcon, ChevronUpIcon } from '@heroicons/react/24/outline';
910
import FocusedTableRow from './FocusdTableRow';
10-
import { SxProps, Theme } from '@mui/material';
11+
1112

1213
export interface ExpandedTableRowProps extends TableRowProps{
1314
detail: React.ReactElement;

app/_components/FocusdTableRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import TableRow, { TableRowProps } from '@mui/material/TableRow';
33
import { type ReactElement } from 'react';
44
import { useFocusedRow} from './FocusedRowProvider';
5-
import { SxProps, Theme,alpha } from '@mui/material';
5+
import { SxProps, Theme,alpha } from '@mui/material/styles';
66

77
export interface FocusedTableRowProps extends TableRowProps{
88
detail: ReactElement;

0 commit comments

Comments
 (0)