From 2b2f89f640eee27a3d79a55e29c4330a14c1d826 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sun, 30 Jun 2024 14:27:03 +1000 Subject: [PATCH] docs(examples): Fix new vue example --- examples/vue/sub-components/src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 },