Skip to content

Commit 759c5da

Browse files
committed
Remove unused imports
1 parent b26195f commit 759c5da

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/components/footer/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ export function Footer() {
177177
<ThemeSwitch />
178178
</div>
179179
<p className="typography-body-xs flex flex-col text-pretty max-md:gap-5">
180-
Copyright © 2025 The GraphQL Foundation. All rights reserved.
180+
Copyright © {new Date().getFullYear()} The GraphQL Foundation. All
181+
rights reserved.
181182
</p>
182183
</div>
183184
</div>

src/components/navbar/navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import NextLink from "next/link"
88
import { Button } from "nextra/components"
99
import type * as normalizePages from "nextra/normalize-pages"
1010
import React, { useEffect, type ReactElement, type ReactNode } from "react"
11-
import { useMenu, useThemeConfig } from "nextra-theme-docs"
11+
import { useMenu } from "nextra-theme-docs"
1212
import { Anchor } from "@/app/conf/_design-system/anchor"
1313

1414
import MenuIcon from "@/app/conf/_design-system/pixelarticons/menu.svg?svgr"

theme.config.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
import { DocsThemeConfig, useConfig, useMenu } from "nextra-theme-docs"
1+
import { DocsThemeConfig, useConfig } from "nextra-theme-docs"
22
import { useRouter } from "next/router"
33

44
import { Navbar } from "@/components/navbar/navbar"
55
import { mdxComponents } from "@/_design-system/mdx-components"
66
import { GraphQLWordmarkLogo } from "@/icons"
77
import { Footer } from "@/components/footer"
88
import { NextraMdxWrapper } from "@/components/nextra-mdx-wrapper"
9-
import { ThemeSwitch } from "@/components/theme-switch"
10-
import { useFSRoute } from "nextra/hooks"
119

1210
const graphQLLogo = (
1311
<GraphQLWordmarkLogo className="nextra-logo h-6" title="GraphQL" />

0 commit comments

Comments
 (0)