Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry8192 committed Oct 17, 2024
1 parent 28d6fae commit 956d026
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion new-log-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
],
"patterns": [
{
"group": ["@mui/joy/*"],
"group": ["@mui/joy/*", "!@mui/joy/styles"],
"message": "Please use the default import from \"@mui/joy\" instead."
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import {
Tab,
Tooltip,
} from "@mui/joy";

import {SvgIconComponent} from "@mui/icons-material";
import SvgIcon from "@mui/material/SvgIcon";

import {
TAB_DISPLAY_NAMES,
Expand All @@ -15,7 +14,7 @@ import "./TabButton.css";

interface TabButtonProps {
tabName: TAB_NAME,
Icon: SvgIconComponent,
Icon: typeof SvgIcon,
onTabButtonClick: (tabName: TAB_NAME) => void
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
TabList,
Tabs,
} from "@mui/joy";
import SvgIcon from "@mui/material/SvgIcon";

import {SvgIconComponent} from "@mui/icons-material";
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";
import SettingsOutlinedIcon from "@mui/icons-material/SettingsOutlined";

Expand All @@ -25,7 +25,7 @@ import "./index.css";
*/
const TABS_INFO_LIST: Readonly<Array<{
tabName: TAB_NAME,
Icon: SvgIconComponent
Icon: typeof SvgIcon,
}>> = Object.freeze([
{tabName: TAB_NAME.FILE_INFO, Icon: InfoOutlinedIcon},
]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
Chip,
Tooltip,
} from "@mui/joy";
import {DefaultColorPalette} from "@mui/joy/styles/types/colorSystem";
import type {DefaultColorPalette} from "@mui/joy/styles/types";

import {LOG_LEVEL} from "../../../typings/logs";

Expand Down

0 comments on commit 956d026

Please sign in to comment.