Skip to content

Commit 578b1dd

Browse files
committed
fix(src): remove redundant imports
1 parent f569382 commit 578b1dd

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/theme/DocCard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { type ReactNode, type JSX } from "react";
1+
import { type ReactNode, type JSX } from "react";
22
import clsx from "clsx";
33
import Link from "@docusaurus/Link";
44
import {

src/theme/Footer/Copyright/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { type JSX } from "react";
1+
import { type JSX } from "react";
22
import type { Props } from "@theme/Footer/Copyright";
33

44
export default function FooterCopyright({ copyright }: Props): JSX.Element {

src/theme/Footer/Layout/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { type JSX } from "react";
1+
import { type JSX } from "react";
22
import clsx from "clsx";
33
import type { Props } from "@theme/Footer/Layout";
44

src/theme/Footer/LinkItem/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { type JSX } from "react";
1+
import { type JSX } from "react";
22

33
import Link from "@docusaurus/Link";
44
import useBaseUrl from "@docusaurus/useBaseUrl";

src/theme/Footer/Links/MultiColumn/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { type JSX } from "react";
1+
import { type JSX } from "react";
22
import LinkItem from "@theme/Footer/LinkItem";
33
import type { Props } from "@theme/Footer/Links/MultiColumn";
44

src/theme/Footer/Links/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { type JSX } from "react";
1+
import { type JSX } from "react";
22

33
import { isMultiColumnFooterLinks } from "@docusaurus/theme-common";
44
import FooterLinksMultiColumn from "@theme/Footer/Links/MultiColumn";

src/theme/Footer/Logo/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { type JSX } from "react";
1+
import { type JSX } from "react";
22
import clsx from "clsx";
33
import Link from "@docusaurus/Link";
44
import { useBaseUrlUtils } from "@docusaurus/useBaseUrl";

src/theme/PaginatorNavLink/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { type JSX } from "react";
1+
import { type JSX } from "react";
22
import clsx from "clsx";
33
import Link from "@docusaurus/Link";
44
import type { Props } from "@theme/PaginatorNavLink";

0 commit comments

Comments
 (0)