Skip to content

Commit 55c7a95

Browse files
pr remark
1 parent 8804014 commit 55c7a95

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/form/Select.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ export function SelectForm({
218218
isSearchable={isSearchable}
219219
isClearable={isClearable}
220220
isDisabled={disabled}
221-
isOptionDisabled={(option: { disabled: any }) => !!option.disabled}
221+
isOptionDisabled={(option: { disabled: boolean | undefined }) =>
222+
!!option.disabled
223+
}
222224
/>
223225
<Error display={displayError} message={displayErrorMessage} />{" "}
224226
</>

0 commit comments

Comments
 (0)