Skip to content

Commit 2984169

Browse files
committed
chore(ui): fix demo of select loading
1 parent 7a64dc1 commit 2984169

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ui/src/components/select/demos/5.Loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default function Demo() {
7777
setLoading2(false);
7878
setList2((draft) => {
7979
draft.push(
80-
Array.from({ length: 20 }).map((_, index) => ({
80+
...Array.from({ length: 20 }).map((_, index) => ({
8181
label: `Item ${index + draft.length}`,
8282
value: index + draft.length,
8383
}))

0 commit comments

Comments
 (0)