Skip to content

Commit

Permalink
fixed eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
NwinNwin committed Sep 6, 2023
1 parent e6f7a68 commit fc65b4a
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions src/components/CreateModal/CreateModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,21 +144,19 @@ export default function CreateModal({
fontWeight="bold"
borderRadius={20}
onClick={() => {
{
setNewAddedItem({
image: "",
type: "",
islost: true,
name: "",
description: "",
itemDate: "",
});
setUploadImg("");
setActiveStep(0);
setIsCreate(true);
setIsEdit(false);
onClose();
}
setNewAddedItem({
image: "",
type: "",
islost: true,
name: "",
description: "",
itemDate: "",
});
setUploadImg("");
setActiveStep(0);
setIsCreate(true);
setIsEdit(false);
onClose();
}}
>
Cancel
Expand Down

0 comments on commit fc65b4a

Please sign in to comment.