Skip to content

Commit

Permalink
Update floating-navbar.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
vys69 committed Sep 22, 2024
1 parent 6f7c89c commit 318d624
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ui/floating-navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export const FloatingNav = ({
className,
handleSmoothScroll,
}: {
navItems: {
navItems: Array<{
name: string;
link: string;
icon?: JSX.Element;
}[];
}>;
className?: string;
handleSmoothScroll: (e: React.MouseEvent<HTMLAnchorElement>, targetId: string) => void;
}) => {
Expand Down Expand Up @@ -92,7 +92,7 @@ export const FloatingNav = ({
className
)}
>
{navItems.map((navItem: any, idx: number) => (
{navItems.map((navItem, idx) => (
<Button
key={`button-${idx}`}
variant="ghost"
Expand Down

0 comments on commit 318d624

Please sign in to comment.