Skip to content

Commit

Permalink
fix: hydration error
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed May 28, 2024
1 parent 063dfab commit 6350865
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/app/(marketing)/_components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,14 @@ export const Navbar = () => {
</Link>
</NavigationMenuItem>
<NavigationMenuItem>
<a
<NavigationMenuLink
href={constants.github_repo}
target="_blank"
rel="noreferrer noopener"
className={navigationMenuTriggerStyle()}
>
<NavigationMenuLink className={navigationMenuTriggerStyle()}>
Contribute
</NavigationMenuLink>
</a>
Contribute
</NavigationMenuLink>
</NavigationMenuItem>
</NavigationMenuList>
</NavigationMenu>
Expand Down
4 changes: 3 additions & 1 deletion src/app/(marketing)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ export default function Home() {
<div key={feature.title} className="flex flex-col gap-2">
{feature.icon}
<h3 className="pt-2 text-xl font-medium">{feature.title}</h3>
<p className="text-foreground-muted">{feature.description}</p>
<p className="text-pretty text-foreground-muted">
{feature.description}
</p>
</div>
))}
</section>
Expand Down

0 comments on commit 6350865

Please sign in to comment.