diff --git a/src/components/extenders/Select.tsx b/src/components/extenders/Select.tsx index e32560b7b..2c896899b 100644 --- a/src/components/extenders/Select.tsx +++ b/src/components/extenders/Select.tsx @@ -236,7 +236,8 @@ export default function Select< // resetValueOnHide setValue={value => { setSearch(value); - }}> + }} + > setValue(v as Value)} value={value as string} diff --git a/src/utils/types.ts b/src/utils/types.ts index 67b117fb9..16104e3e8 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -1,4 +1,3 @@ -import type { Dispatch, SetStateAction } from "react"; import type { Coloring, Mode, State } from "../theming/variables"; /**