Skip to content

Commit

Permalink
changed image to empty
Browse files Browse the repository at this point in the history
  • Loading branch information
stevem-zhou committed Aug 23, 2023
1 parent 25a29ca commit e446158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CreateModal/CreateModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function CreateModal({
"https://firebasestorage.googleapis.com/v0/b/zotnfound2.appspot.com/o/zotnfound2%2Fimages%2FNaN"
)
) {
setUploadImg(upload);
setUploadImg("");
} else {
setUploadImg(url);
setNewAddedItem((prev) => ({ ...prev, image: url }));
Expand Down

0 comments on commit e446158

Please sign in to comment.