Skip to content

Commit 71454dc

Browse files
committed
fix: format and lint
1 parent 399e93e commit 71454dc

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

fission/src/ui/components/MainHUD.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,13 @@ const MainHUDButton: React.FC<ButtonProps> = ({ startIcon, endIcon, children, ..
3131
className="relative flex flex-row"
3232
variant="contained"
3333
sx={{
34-
'&:focus': {
35-
outline: 'none'
36-
}
34+
"&:focus": {
35+
outline: "none",
36+
},
3737
}}
3838
>
3939
{props.size !== "large" && <span className="absolute left-3">{startIcon}</span>}
40-
<span className={props.size === "large" ? "py-1" : "py-0.5 ml-6"}>
41-
{children}
42-
</span>
40+
<span className={props.size === "large" ? "py-1" : "py-0.5 ml-6"}>{children}</span>
4341
</Button>
4442
)
4543
}

fission/src/ui/panels/configuring/assembly-config/ConfigurePanel.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import type { PanelImplProps } from "@/ui/components/Panel"
1515
import { Button } from "@/ui/components/StyledComponents"
1616
import TransformGizmoControl from "@/ui/components/TransformGizmoControl"
1717
import { CloseType, type UIScreen, useUIContext } from "@/ui/helpers/UIProviderHelpers"
18-
import { useStateContext } from "@/ui/helpers/StateProviderHelpers"
1918
import ChooseInputSchemePanel from "../ChooseInputSchemePanel"
2019
import { ConfigMode, type ConfigurationType } from "./ConfigTypes"
2120
import AssemblySelection, { type AssemblySelectionOption } from "./configure/AssemblySelection"
@@ -224,7 +223,6 @@ export interface ConfigurePanelCustomProps {
224223

225224
const ConfigurePanel: React.FC<PanelImplProps<void, ConfigurePanelCustomProps>> = ({ panel }) => {
226225
const { configureScreen } = useUIContext()
227-
const { setSelectedScheme: setGlobalSelectedScheme } = useStateContext()
228226

229227
const {
230228
configMode: initialConfigMode,

fission/src/ui/panels/mirabuf/ImportMirabufPanel.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
import { Accordion, AccordionDetails, AccordionSummary, Box, CircularProgress, Stack, Tab, Tabs, Tooltip } from "@mui/material"
1+
import {
2+
Accordion,
3+
AccordionDetails,
4+
AccordionSummary,
5+
Box,
6+
CircularProgress,
7+
Stack,
8+
Tab,
9+
Tabs,
10+
Tooltip,
11+
} from "@mui/material"
212
import type React from "react"
313
import { type ReactNode, useCallback, useEffect, useLayoutEffect, useMemo, useState } from "react"
414
import { MdExpandMore } from "react-icons/md"

0 commit comments

Comments
 (0)