Skip to content

Commit 2b1f17f

Browse files
refactor: remove unused imports (#295)
1 parent 6c71b8d commit 2b1f17f

File tree

5 files changed

+3
-14
lines changed

5 files changed

+3
-14
lines changed

website/src/components/templates/GroupTemplate.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import type { FC } from "hono/jsx";
22
import type { GroupBody, Page } from "../../types/model";
3-
import {
4-
FunctionDefinition,
5-
FunctionDisplay,
6-
FunctionParameters,
7-
Tooltip,
8-
} from "../ui";
3+
import { FunctionDisplay, Tooltip } from "../ui";
94
import { HtmlContent } from "../ui/HtmlContent";
105
import BaseTemplate, { type BaseTemplateProps } from "./BaseTemplate";
116

website/src/components/templates/TypeTemplate.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import type { Page, TypeBody } from "../../types/model";
44
import { FunctionDisplay, Tooltip } from "../ui";
55
import { HtmlContent } from "../ui/HtmlContent";
66
import { TypeIcon } from "../ui/TypeIcon";
7-
import { type2href } from "../ui/type2href";
87
import BaseTemplate, { type BaseTemplateProps } from "./BaseTemplate";
98

109
export type TypeTemplateProps = Omit<BaseTemplateProps, "page"> & {

website/src/components/ui/common/Footer.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
discordServerUrl,
3-
githubOrganizationUrl,
4-
githubRepositoryUrl,
5-
} from "../../../metadata";
1+
import { discordServerUrl, githubRepositoryUrl } from "../../../metadata";
62
import { Translation } from "../../../translation/";
73
import { DiscordIcon, GitHubIcon } from "../../icons";
84

website/src/components/ui/common/SideNavigation.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { Page } from "../../../types/model";
22
import { ChevronRightIcon } from "../../icons";
3-
import { SiteTitle } from "./SiteTitle";
43

54
export type SideNavigationProps = {
65
docs: Page[];

website/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
TypeTemplate,
1111
} from "./components/templates";
1212
import { basePath } from "./metadata";
13-
import type { Body, Page } from "./types/model";
13+
import type { Page } from "./types/model";
1414
import { flattenDocs } from "./utils/flattenDocs";
1515
import { isPageOfKind } from "./utils/isPageOfKind";
1616
import { removeBasePath } from "./utils/path";

0 commit comments

Comments
 (0)