Remove type assertions

This commit is contained in:
Isaac Wise
2024-07-27 20:01:51 -05:00
parent d631754b50
commit 8f7e0b8d09
5 changed files with 27 additions and 29 deletions
@@ -10,11 +10,11 @@ type Props = {
onChange: any;
showDefaultValue?: boolean;
defaultValue?:
| {
label: string;
value?: number;
}
| undefined;
| {
label: string;
value?: number;
}
| undefined;
creatable?: boolean;
};
@@ -107,7 +107,7 @@ export default function CollectionSelection({
components={{
Option: customOption,
}}
// menuPosition="fixed"
// menuPosition="fixed"
/>
);
} else {
@@ -123,7 +123,7 @@ export default function CollectionSelection({
components={{
Option: customOption,
}}
// menuPosition="fixed"
// menuPosition="fixed"
/>
);
}