Skip to content

Commit

Permalink
Add isOptionEqualToValue Prop to get rid of console warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pmakode-akamai committed Jul 16, 2024
1 parent 033b4f7 commit e2e76ff
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ export const CreateCluster = () => {
</StyledRegionSelectStack>
<Divider sx={{ marginTop: 4 }} />
<Autocomplete
isOptionEqualToValue={(option, value) =>
option.value === value.value
}
onChange={(_, selected: Item<string>) => {
setVersion(selected);
}}
Expand Down

0 comments on commit e2e76ff

Please sign in to comment.