Skip to content

Commit

Permalink
Small bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
justinnas committed Sep 6, 2024
1 parent ae6774b commit 84012bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const FileTreeItemContextMenuConfirmationDialog: React.FC<FileTreeItemCon
</Grid>
</DialogTitle>
<DialogContent sx={{ py: 0 }}>
<Typography sx={{ fontSize: '1rem' }}>
<Typography sx={{ fontSize: '1rem', wordWrap: 'break-word' }}>
{content.text}
<b>{content.boldText}</b>?
</Typography>
Expand All @@ -99,7 +99,9 @@ export const FileTreeItemContextMenuConfirmationDialog: React.FC<FileTreeItemCon
},
}}
>
<Typography sx={{ fontSize: '1rem', color: Theme.palette.text.primary }}>{action}</Typography>
<Typography sx={{ fontSize: '1rem', color: Theme.palette.text.primary }}>
{action.charAt(0).toUpperCase() + action.slice(1).toLowerCase()}
</Typography>
</Button>
</DialogActions>
</FileTreeItemContextMenuStyledDialog>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export const FileTreeItemContextMenuFileImportDialog: React.FC<FileTreeItemConte

const newFile = new File([selectedFile], newFileName, { type: selectedFile.type });

console.log(newFile.name);
setFile(newFile);
}
};
Expand Down

0 comments on commit 84012bf

Please sign in to comment.