Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
lerte committed Oct 31, 2024
1 parent 289db73 commit 40dd31b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/docs/src/views/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ export default () => {
setFilterIcons(icons)
}, [])

const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {
const { value } = event.target
const handleChange = (value: string) => {
const reg = new RegExp(value, 'i')
startTransition(() => {
setFilterIcons(icons.filter((icon) => reg.test(icon)))
Expand Down

0 comments on commit 40dd31b

Please sign in to comment.