Skip to content

Commit

Permalink
chore: cascader-view's demo type fix (#6445)
Browse files Browse the repository at this point in the history
* chore: cascader-view's demo type fix

* chore: update type
  • Loading branch information
1587315093 authored Nov 21, 2023
1 parent 671ea15 commit abef05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cascader-view/demos/demo1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DemoBlock } from 'demos'
import { options, sameValueOptions } from '../../cascader/demos/data'

export default () => {
const [value, setValue] = useState<string[]>([])
const [value, setValue] = useState<(string | number)[]>([])

return (
<>
Expand Down

0 comments on commit abef05c

Please sign in to comment.