minor fix

This commit is contained in:
Red Adaya 2024-12-18 15:19:59 +08:00
parent d9b5f4f78b
commit 1852a3888b

View File

@ -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) => {