Skip to content

Commit

Permalink
feat(base-grid): return ref([]) as default
Browse files Browse the repository at this point in the history
  • Loading branch information
annacv committed Jun 5, 2024
1 parent 087a4ba commit 023cf19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x-components/src/components/base-grid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
*
* @internal
*/
const injectedListItems = inject<Ref<ListItem[] | []>>(LIST_ITEMS_KEY as string, []);
const injectedListItems = inject<Ref<ListItem[] | []>>(LIST_ITEMS_KEY as string, ref([]));
const gridEl = ref<ElementRef | HTMLElement | null>(null);
Expand Down

0 comments on commit 023cf19

Please sign in to comment.