Skip to content

Commit 178b07e

Browse files
committed
clean up missing types after main merge
1 parent 0b6d877 commit 178b07e

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/components/FrameworkCard.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
import { Link } from '@tanstack/react-router'
22
import { twMerge } from 'tailwind-merge'
33
import { FaCheck, FaCopy } from 'react-icons/fa'
4-
import { getFrameworkOptions, Library } from '~/libraries'
4+
import { Library } from '~/libraries'
5+
import { getFrameworkOptions } from '~/libraries/frameworks'
56
import { useCopyButton } from '~/components/CopyMarkdownButton'
67
import { useToast } from '~/components/ToastProvider'
78

89
export function FrameworkCard({
910
framework,
1011
libraryId,
11-
version,
1212
packageName,
1313
index,
1414
library,
1515
}: {
1616
framework: ReturnType<typeof getFrameworkOptions>[number]
1717
libraryId: string
18-
version: string
1918
packageName: string
2019
index: number
2120
library: Library

src/libraries/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export type Library = {
6262
visible?: boolean
6363
// Legacy npm packages (non-@tanstack scope) to include in stats
6464
legacyPackages?: string[]
65+
installPath?: string
6566
corePackageName?: string
6667
}
6768

src/routes/$libraryId/$version.docs.framework.index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ function RouteComponent() {
6767
key={framework.value}
6868
framework={framework}
6969
libraryId={libraryId}
70-
version={version}
7170
packageName={packageName}
7271
index={i}
7372
library={library}

0 commit comments

Comments
 (0)