fixing small issues in the project
This commit is contained in:
1 parent
032d2a100a
commit
99dbea0615
17 files changed
+166
-55
No files matched your search
@@ -18,7 +18,8 @@ const CategoryEditModal: React.FC<CategoryEditModalProps> = ({ category, edit, o
|
||||
title={edit ? 'Edit Category' : 'Add Category'}
|
||||
edit={edit}
|
||||
onClose={onClose}
|
||||
onSave={() => onSave(name)}
|
||||
onSave={() => onSave(name.trim())}
|
||||
canSave={name.trim() !== ''}
|
||||
onDelete={edit ? onDelete : undefined}
|
||||
>
|
||||
<input
|
||||
|
||||
Reference in new issue
Block a user