Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mark19242 committed May 13, 2024
1 parent 456a772 commit 32d63ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NewModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const NewModal = ({ createNote, user }) => {
public: isPublic,
creator: user.id
})
dispatch({ type: "TOGGLE_MODAL" }) // Close modal on successful submission
dispatch({ type: "TOGGLE_MODAL" })
} else {
console.error("User data is not available")
}
Expand Down

0 comments on commit 32d63ed

Please sign in to comment.