Skip to content

Commit b68e5be

Browse files
(fix): Docs build + swapped icons (#2211)
* swapped icons * fixed build issue
1 parent 6ff00b9 commit b68e5be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

agents-docs/src/app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
22
import type { LinkItemType } from 'fumadocs-ui/layouts/shared';
33
import { RootProvider } from 'fumadocs-ui/provider/next';
4-
import { Cloud } from 'lucide-react';
4+
import { Rocket } from 'lucide-react';
55
import { Inter } from 'next/font/google';
66
import { Suspense, ViewTransition } from 'react';
77
import { FaGithub, FaLinkedinIn, FaSlack, FaXTwitter, FaYoutube } from 'react-icons/fa6';
@@ -137,7 +137,7 @@ export default function Layout({ children }: LayoutProps<'/'>) {
137137
target="_blank"
138138
rel="noreferrer"
139139
>
140-
<Cloud />
140+
<Rocket />
141141
Get Demo
142142
</a>
143143
</Button>

agents-docs/src/components/mdx/option-cards.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function resolveIcon(iconName?: string): ReactNode {
1515
if (BrandIcon) return createElement(BrandIcon);
1616
} else if (iconName.startsWith('Lu')) {
1717
// @ts-expect-error lucide icons are keyed by unprefixed name
18-
const LuIcon: FC | undefined = luIcons[iconName.slice(2)];
18+
const LuIcon: FC<{ className?: string }> | undefined = luIcons[iconName.slice(2)];
1919
if (LuIcon) return createElement(LuIcon, { className: 'h-6 w-6' });
2020
}
2121

0 commit comments

Comments
 (0)