Feature/use second level mui imports (#743)
* Require "Theme" to be passed to "SxProps" Decreases typescript performance otherwise * Disallow "top" and "third-level" MUI imports * Exclude "node_modules" in tsconfig
This commit is contained in:
@@ -16,7 +16,7 @@ import DialogActions from '@mui/material/DialogActions';
|
||||
import TextField from '@mui/material/TextField';
|
||||
import Button from '@mui/material/Button';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { ListItemButton } from '@mui/material';
|
||||
import ListItemButton from '@mui/material/ListItemButton';
|
||||
import { EditTextPreferenceProps } from '@/typings';
|
||||
|
||||
export function EditTextPreference(props: EditTextPreferenceProps) {
|
||||
|
||||
@@ -17,7 +17,7 @@ import Radio from '@mui/material/Radio';
|
||||
import FormControlLabel from '@mui/material/FormControlLabel';
|
||||
import Button from '@mui/material/Button';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { ListItemButton } from '@mui/material';
|
||||
import ListItemButton from '@mui/material/ListItemButton';
|
||||
import { ListPreferenceProps } from '@/typings';
|
||||
|
||||
interface IListDialogProps {
|
||||
|
||||
@@ -17,7 +17,7 @@ import Checkbox from '@mui/material/Checkbox';
|
||||
import FormControlLabel from '@mui/material/FormControlLabel';
|
||||
import Button from '@mui/material/Button';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { ListItemButton } from '@mui/material';
|
||||
import ListItemButton from '@mui/material/ListItemButton';
|
||||
import { MultiSelectListPreferenceProps } from '@/typings';
|
||||
import { cloneObject } from '@/util/cloneObject';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user