File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
packages/preact-table/src Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,9 @@ export function useTable<
115115 } ) )
116116 } )
117117 } , [
118- tableOptions . columns , // re-render when columns change
119- tableOptions . data , // re-render when data changes
120- tableOptions . state , // sync react state to the table store
118+ table . options . columns , // re-render when columns change
119+ table . options . data , // re-render when data changes
120+ table . options . state , // sync preact state to the table store
121121 ] )
122122
123123 const state = useStore ( table . store , selector )
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ export const packages = [
2424 // name: '@tanstack/lit-table',
2525 // packageDir: 'packages/lit-table',
2626 // },
27- // {
28- // name: '@tanstack/preact-table',
29- // packageDir: 'packages/preact-table',
30- // },
27+ {
28+ name : '@tanstack/preact-table' ,
29+ packageDir : 'packages/preact-table' ,
30+ } ,
3131 {
3232 name : '@tanstack/react-table' ,
3333 packageDir : 'packages/react-table' ,
You can’t perform that action at this time.
0 commit comments