Skip to content

Commit

Permalink
Change wording on Create Folder action (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelboca committed May 7, 2024
1 parent e3c555e commit 5558504
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions client/components/Application/Dialogs/AddEmptyFolder.tsx
@@ -1,4 +1,3 @@
import CreateNewFolderIcon from '@mui/icons-material/CreateNewFolder'
import InputDialog from '../../Parts/Dialogs/Input'
import { useStore, selectors } from '../store'

Expand All @@ -10,11 +9,9 @@ export default function AddEmptyFolderDialog() {
<InputDialog
open={true}
value={folderPath}
title="Add Empty Folder"
label="Add"
description="You are creating a folder. Enter destination:"
placholder="Enter a folder path"
Icon={CreateNewFolderIcon}
title="Create Folder"
label="Create"
placholder="Name of the new folder"
onCancel={() => updateState({ dialog: undefined })}
onConfirm={async (path) => {
await createFolder(path)
Expand Down

0 comments on commit 5558504

Please sign in to comment.