Skip to content

Commit 8b47d60

Browse files
heiskrCopilot
andauthored
Remove unused React imports (#62048)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d10228d commit 8b47d60

8 files changed

Lines changed: 0 additions & 10 deletions

File tree

src/frame/components/ui/MarkdownContent/UnrenderedMarkdownContent.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import ReactMarkdown from 'react-markdown'
32
import type { Components } from 'react-markdown'
43
import type { JSX } from 'react'

src/graphql/components/BreakingChanges.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import cx from 'classnames'
32

43
import { HeadingLink } from '@/frame/components/article/HeadingLink'

src/graphql/components/GraphqlPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import type { JSX } from 'react'
32
import cx from 'classnames'
43

src/graphql/components/Previews.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import GithubSlugger from 'github-slugger'
32
import cx from 'classnames'
43

src/landings/components/ProductSelections.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from 'react'
2-
31
import type { ProductT } from '@/frame/components/context/MainContext'
42
import { ProductSelectionCard } from './ProductSelectionCard'
53

src/landings/components/TableOfContents.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from 'react'
2-
31
import { Link } from '@/frame/components/Link'
42
import type { TocItem } from '@/landings/types'
53
import { RenderedHTML } from '@/frame/components/ui/RenderedHTML/RenderedHTML'

src/landings/pages/home.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import type { GetServerSideProps } from 'next'
32
import type { Response } from 'express'
43

src/search/components/input/SearchGroups.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { ActionList, Spinner } from '@primer/react'
32
import {
43
SearchIcon,

0 commit comments

Comments
 (0)