Skip to content

Commit

Permalink
chore: update select function (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebgranger committed Aug 8, 2024
1 parent f4016ce commit c0c64ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/kit/src/input-search/play.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const useCityMatch = (term: string) => {
term.trim() === ""
? null
: matchSorter(cities, term, {
keys: [(item) => `${item.city}, ${item.state}`],
}),
keys: [(item) => `${item.city}, ${item.state}`],
}),
[term]
);
};
Expand Down Expand Up @@ -229,7 +229,7 @@ const ControlledTemplate: StoryFn<typeof InputSearch.Root> = (args) => {
aria-label="Example-Search"
openOnFocus
onSelect={(value) => {
//setTerm(value);
setTerm(value);
}}
>
<InputSearch.Input
Expand Down

0 comments on commit c0c64ae

Please sign in to comment.