clean up
This commit is contained in:
1 parent
c4a90fcd1c
commit
fb30d577aa
5 files changed
+2
-3
No files matched your search
@@ -26,6 +26,7 @@ const useAutomationListBoxState = () => {
|
||||
initialSelected = [initialSelected]
|
||||
}
|
||||
initialSelected = initialSelected.map(Number)
|
||||
// eslint-disable-next-line
|
||||
} catch (_) { }
|
||||
const [searchText, setSearchText] = useState(cookies.albSearchText ?? "");
|
||||
const [selectedTagIdx, setSelectedTagIdx] = useState<number[]>(initialSelected);
|
||||
|
||||
@@ -30,6 +30,7 @@ export const useAutomationListState = () => {
|
||||
let initialCurrent = 0;
|
||||
try {
|
||||
initialCurrent = Number(cookies.alCurrent ?? '0');
|
||||
// eslint-disable-next-line
|
||||
} catch (_) { }
|
||||
|
||||
const [hideList, setHideList] = useState(false);
|
||||
|
||||
@@ -4,7 +4,6 @@ import { Option } from 'haService';
|
||||
import Autocomplete from '@mui/material/Autocomplete';
|
||||
import TextField from '@mui/material/TextField';
|
||||
import Chip from '@mui/material/Chip';
|
||||
import { prettyName } from "utils/formatting";
|
||||
import { Badge } from "@mui/material";
|
||||
import { SearchItem } from "./extras";
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { InputService } from "components/Inputs/InputService";
|
||||
import InputText from "components/Inputs/InputText";
|
||||
import InputYaml from 'components/Inputs/InputYaml';
|
||||
import { ServiceAction } from "types/automations/actions";
|
||||
import { OptionManager, updateActionData } from './OptionManager';
|
||||
|
||||
Reference in new issue
Block a user