Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Commit

Permalink
fix: Reset image url
Browse files Browse the repository at this point in the history
  • Loading branch information
Bayathy committed Dec 17, 2022
1 parent 151703a commit 69f8315
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/edit/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const Edit: NextPageWithLayout = () => {
setList([...list, item]);
onClose();
reset();
setImageUrl("")
};

useEffect(() => {
Expand Down

0 comments on commit 69f8315

Please sign in to comment.