fix(website): max height

This commit is contained in:
iCrawl
2023-04-15 14:28:20 +02:00
parent 49627b1f46
commit 5e2f94c591
3 changed files with 9 additions and 7 deletions

View File

@@ -3,13 +3,13 @@
import type { LinkProps } from 'next/link';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import type { PropsWithChildren } from 'react';
import type { AnchorHTMLAttributes, PropsWithChildren, RefAttributes } from 'react';
import { useCurrentPathMeta } from '~/hooks/useCurrentPathMeta';
export interface ItemLinkProps
extends Omit<LinkProps, 'href'>,
React.RefAttributes<HTMLAnchorElement>,
Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof LinkProps> {
RefAttributes<HTMLAnchorElement>,
Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof LinkProps> {
className?: string;
/**