Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jtklein committed Feb 16, 2025
1 parent dc24d2a commit 10a8aad
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/app/PartitionEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,11 @@ const useStyles = makeStyles(theme => ({

function PartitionEditor({ alignment }) {
const classes = useStyles();
// const [partitionText, setPartitionText] = React.useState(alignment.partitionText);
// const [partitionText, setPartitionText] = React.useState(
// alignment.partitionFileContent
// );

// function handleChange(event) {
// setPartitionText(event.target.value);
// }

function handleAdd(event) {
alignment.partition.addPart();
}

// function onClickCancel(event) {
// alignment.setShowPartition(false);
// }

// function onClickSave(event) {
// alignment.setPartitionText(partitionText);
// alignment.setShowPartition(false);
// }

// const hasChange = partitionText !== alignment.partitionText;

if (!alignment.showPartition) {
return null;
}
Expand Down Expand Up @@ -184,7 +165,6 @@ const useStylesOnCard = makeStyles(theme => ({
},
form: {},
textField: {
// height: 80,
width: 250,
padding: 0,
marginTop: 10,
Expand Down

0 comments on commit 10a8aad

Please sign in to comment.