Skip to content

Commit

Permalink
docs(examples): Fix new vue example
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Jun 30, 2024
1 parent 25e655e commit 2b2f89f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/vue/sub-components/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
createColumnHelper,
getCoreRowModel,
getExpandedRowModel,
useVueTable,
useTable,
type ExpandedState,
type Row,
} from '@tanstack/vue-table'
Expand Down Expand Up @@ -111,7 +111,7 @@ const expanded = ref<ExpandedState>({})
const rerender = () => {
data.value = defaultData
}
const table = useVueTable({
const table = useTable({
get data() {
return data.value
},
Expand Down

0 comments on commit 2b2f89f

Please sign in to comment.