Skip to content

Commit

Permalink
Fix a ReferenceError
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopkovacs committed Jan 15, 2024
1 parent 7837717 commit d3c7c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions app/routes/table.v8._index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ export const loader = async () => {

export default function ReactTableRoute() {
const { sponsors } = useLoaderData<typeof loader>()
// const config = useReactTableV8Config()
// const [params, setParams] = useSearchParams()
// const framework = params.get('framework') ?? 'react'
const [framework, setFramework] = React.useState<
'react' | 'svelte' | 'vue' | 'solid'
>('react')
Expand Down
4 changes: 2 additions & 2 deletions app/routes/virtual.v3.docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ export const meta: MetaFunction = () => {
})
}

export default function RouteReactTable() {
export default function RouteVirtual() {
const tanstackConfig = useVirtualV3Config()

const config: DocsConfig = React.useMemo(
() => ({
...tanstackConfig,
menu: [localMenu, ...config.menu],
menu: [localMenu, ...tanstackConfig.menu],
}),
[tanstackConfig]
)
Expand Down

0 comments on commit d3c7c4c

Please sign in to comment.