Skip to content

Commit d129ac5

Browse files
committed
ts-ignore changes made after the reverted PR
1 parent f6fa786 commit d129ac5

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

components/homepage/components-section.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const ComponentsSection: FC = () => {
2525
))}
2626
</div>
2727
<div className="mb-4 flex w-full justify-center text-center">
28+
{/* @ts-expect-error TODO: fix `as` inference */}
2829
<Button as={Link} href="/docs/components/accordion" color="light">
2930
View all components
3031
</Button>

components/homepage/hero-section/hero-section.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const HeroSection: FC = () => {
2424
<CopyPackageInput value="npm i flowbite-react" />
2525
<div className="justify-center sm:flex sm:justify-start">
2626
<div className="mx-0 flex flex-row items-center gap-4 sm:gap-6">
27+
{/* @ts-expect-error TODO: fix `as` inference */}
2728
<Button
2829
as={Link}
2930
size="lg"

components/homepage/react-section.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ export const ReactSection: FC = () => {
7676
))}
7777
</ul>
7878
<div className="flex flex-row gap-4">
79+
{/* @ts-expect-error TODO: fix `as` inference */}
7980
<Button as={Link} href="/docs/getting-started/quickstart">
8081
Start building <HiOutlineArrowRight className="ml-2 h-5 w-5" />
8182
</Button>
83+
{/* @ts-expect-error TODO: fix `as` inference */}
8284
<Button as={Link} href="https://github.com/themesberg/flowbite-react" color="gray">
8385
View on GitHub
8486
</Button>

0 commit comments

Comments
 (0)