mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
minor fix
This commit is contained in:
parent
d9b5f4f78b
commit
1852a3888b
@ -15,7 +15,7 @@ type MultiSelectProps = {
|
||||
onChange: (values: string[]) => void;
|
||||
};
|
||||
|
||||
const MultiSelect: React.FC<MultiSelectProps> = ({ options, selectedValues = [], onChange }) => {
|
||||
const MultiSelect = ({ options, selectedValues = [], onChange }: MultiSelectProps) => {
|
||||
const [selected, setSelected] = useState<string[]>(selectedValues);
|
||||
|
||||
const handleToggle = (value: string) => {
|
||||
|
Loading…
Reference in New Issue
Block a user