Skip to content

Commit

Permalink
Remove unused getOptionSelected
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyomair committed Jun 4, 2024
1 parent 92eca4e commit 3fa6af6
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ storiesOf("stories/form/FinalForm Fields", module)
<Field
component={FinalFormAsyncSelect}
getOptionLabel={(option: Option) => option.label}
getOptionSelected={(option: Option, value: Option) => {
return option.value === value.value;
}}
loadOptions={async () => {
return new Promise((resolve) => setTimeout(() => resolve(options), 500));
}}
Expand Down

0 comments on commit 3fa6af6

Please sign in to comment.