Skip to content

Commit 0f09ea9

Browse files
committed
Remove unnecessary React imports from multiple components
1 parent ec558d3 commit 0f09ea9

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

src/common/ui/HighlightText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"use client"
2-
import React from "react"
2+
33
import { SxProps, Typography, TypographyVariant } from "@mui/material"
44
import styled from "@emotion/styled"
55

src/features/sidebar/view/internal/diffbar/components/DiffListItem.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"use client";
22

3-
import React from "react";
43
import { Box, Typography, ListItem, ListItemButton, Stack } from "@mui/material";
54
import MenuItemHover from "@/common/ui/MenuItemHover";
65
import MonoQuotedText from "./MonoQuotedText";
@@ -51,7 +50,6 @@ const DiffListItem = ({
5150
{text && (
5251
<Typography
5352
variant="body0"
54-
5553
sx={{ wordBreak: "break-word" }}
5654
>
5755
<MonoQuotedText text={text} />

src/features/sidebar/view/internal/diffbar/components/MonoQuotedText.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
"use client";
22

3-
import React from "react";
43
import { Box } from "@mui/material";
54

6-
75
const MonoQuotedText = ({ text }: { text: string }) => {
86
return (
97
<>

src/features/sidebar/view/internal/diffbar/components/PopulatedDiffList.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"use client";
22

3-
import React from "react";
43
import SpacedList from "@/common/ui/SpacedList";
54
import DiffListItem from "./DiffListItem";
65

0 commit comments

Comments
 (0)