chore: resolve build errors

This commit is contained in:
Mythie
2023-08-23 10:57:31 +10:00
parent 399cf78508
commit 077bb4ac3c
2 changed files with 7 additions and 17 deletions

View File

@ -2,16 +2,11 @@
import { HTMLAttributes } from 'react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import { cn } from '@documenso/ui/lib/utils';
export type DesktopNavProps = HTMLAttributes<HTMLDivElement>;
export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
const pathname = usePathname();
return (
<div className={cn('ml-8 hidden flex-1 gap-x-6 md:flex', className)} {...props}>
{/* No Nav tabs while there is only one main page */}