Skip to content

Commit

Permalink
Fix clientapp build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikstengaard committed Nov 10, 2024
1 parent a169aec commit e0345ba
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from 'react';
import * as React from 'react';
import MuiAccordion from '@mui/material/Accordion';
import AccordionDetails from '@mui/material/AccordionDetails';
import AccordionSummary from '@mui/material/AccordionSummary';
Expand Down
13 changes: 0 additions & 13 deletions src/Hst.Imager.GuiApp/ClientApp/src/components/DiskOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,6 @@ export default function DiskOverview(props) {
}
}

const formatPartType = (partType) => {
switch (partType) {
case 'PartitionTable':
return 'Partition Table'
case 'Partition':
return 'Partition'
case 'Unallocated':
return 'Unallocated'
default:
return ''
}
}

const renderLayout = (parts) => {
const filteredParts = showUnallocated ? parts : parts.filter(x => x.partType !== 'Unallocated')
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {formatBytes} from "../utils/Format";
import {formatBytes} from "../utils/Format";
import {get} from "lodash";

export const createGuidPartitionTableParts = ({ media, humanReadable = true }) => {
Expand Down
2 changes: 1 addition & 1 deletion src/Hst.Imager.GuiApp/ClientApp/src/components/Part.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import React from 'react'
import {get} from "lodash";
import {TableHead} from "@mui/material";
import Paper from "@mui/material/Paper";
Expand Down

0 comments on commit e0345ba

Please sign in to comment.