remove dead code, fix mobile regeression
This commit is contained in:
1 parent
3e56dc63a9
commit
13e49c518d
2 files changed
+2
-6
No files matched your search
@@ -108,8 +108,8 @@ export function DataTable<
|
||||
borderColor: theme.palette.divider,
|
||||
borderRadius: theme.shape.borderRadius,
|
||||
padding: theme.spacing(LAYOUT.XS),
|
||||
cursor: isInteractive ? "pointer" : "default",
|
||||
...(isInteractive && {
|
||||
cursor: onRowClick ? "pointer" : "default",
|
||||
...(onRowClick && {
|
||||
"&:hover": {
|
||||
backgroundColor: theme.palette.action.rowHover,
|
||||
},
|
||||
|
||||
@@ -17,10 +17,6 @@ declare module "@mui/material/styles" {
|
||||
rowHover: string;
|
||||
controlHover: string;
|
||||
}
|
||||
interface TypeActionOptions {
|
||||
rowHover?: string;
|
||||
controlHover?: string;
|
||||
}
|
||||
interface Palette {
|
||||
sidebar: { accent: string };
|
||||
rowStatus: { running: string; paused: string };
|
||||
|
||||
Reference in new issue
Block a user