Skip to content

Commit 0174df0

Browse files
committed
chore: fix some issues
1 parent b9f48b1 commit 0174df0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/[lang]/layout.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
LocaleSwitch,
77
Navbar
88
} from 'nextra-theme-docs';
9-
import { Banner, Head } from 'nextra/components';
9+
import { Banner } from 'nextra/components';
1010
import { getPageMap } from 'nextra/page-map';
1111
import { getDictionary } from '../_dictionaries/get-dictionary';
1212

@@ -19,8 +19,6 @@ import { Stars } from "../_components/stars";
1919
import { GITHUB_REPO_URL, PROJECT_URL } from "../_constants/project";
2020
import { metadataSEO } from "../metadata";
2121

22-
export const { viewport } = Head
23-
2422
const fontSans = FontSans({
2523
subsets: ["latin"],
2624
variable: "--font-sans",

app/_components/link-custom.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const LinkCustom = React.forwardRef<HTMLAnchorElement, CustomLinkProps>(
8787
}
8888

8989
const Comp = asChild ? Slot : Link
90-
const linkProps = asChild ? { className: cn(linkVariants({ variant, size, className })) } : {
90+
const linkProps = {
9191
href,
9292
className: cn(linkVariants({ variant, size, className }))
9393
}

0 commit comments

Comments
 (0)