Skip to content

Commit

Permalink
chore(ui): fix demo of select loading
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejay97 committed Dec 5, 2022
1 parent 7a64dc1 commit 2984169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/select/demos/5.Loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function Demo() {
setLoading2(false);
setList2((draft) => {
draft.push(
Array.from({ length: 20 }).map((_, index) => ({
...Array.from({ length: 20 }).map((_, index) => ({
label: `Item ${index + draft.length}`,
value: index + draft.length,
}))
Expand Down

0 comments on commit 2984169

Please sign in to comment.