Skip to content

Commit

Permalink
Show the modal window by adding the setModalOpen as true
Browse files Browse the repository at this point in the history
  • Loading branch information
echizenyayota committed Jan 7, 2024
1 parent 602eda7 commit 9b9014d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file added public/1704614273089-256_1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/App.js
Expand Up @@ -9,6 +9,7 @@ const App = () => {
const uploadImage = async(e) => {
const formData = new FormData();
formData.append('file', e.target.files[0]);
setModalOpen(true);
setSelectedImage(e.target.files[0]);

try {
Expand Down

0 comments on commit 9b9014d

Please sign in to comment.