diff --git a/examples/vue/sub-components/src/App.vue b/examples/vue/sub-components/src/App.vue index 7c8e005251..30eb193482 100644 --- a/examples/vue/sub-components/src/App.vue +++ b/examples/vue/sub-components/src/App.vue @@ -4,7 +4,7 @@ import { createColumnHelper, getCoreRowModel, getExpandedRowModel, - useVueTable, + useTable, type ExpandedState, type Row, } from '@tanstack/vue-table' @@ -111,7 +111,7 @@ const expanded = ref({}) const rerender = () => { data.value = defaultData } -const table = useVueTable({ +const table = useTable({ get data() { return data.value },