TODO: Handle Error for Existing Branch on Word Submission #52
Labels
↗️ medium priority
This issue is crucial
🐛 bug
Something isn't working
🗒️ todo
This issue is a follow-up task
When a user submits a new word or edits an existing word in the dictionary, the system should check if the branch already exists before attempting to create a new branch. Currently, if a branch with the same name already exists, the submission process fails without providing a clear error message to the user.
https://github.com/babblebey/jargons.dev/blob/0eeb366b4346c28a400586082fadb331c0ee342f/src/lib/branch.js#L10
Proposed Solution:
Additional Notes:
The text was updated successfully, but these errors were encountered: