Skip to content

Commit

Permalink
Merge pull request #65 from the-collab-lab/fix-delete-list-bug
Browse files Browse the repository at this point in the history
Bug fix: Ensure users cannot navigate to and view the content of a deleted list
  • Loading branch information
vivitt authored Apr 3, 2024
2 parents 0728e52 + b7266d8 commit 9a01dcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/SingleList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export function SingleList({ userEmail, name, path, setListPath, userId }) {
)
) {
deleteList(user, email, listPath, listName);
setListPath('');
}
return;
}
Expand All @@ -25,6 +26,7 @@ export function SingleList({ userEmail, name, path, setListPath, userId }) {
)
) {
deleteList(user, email, listPath, listName);
setListPath('');
}
return;
}
Expand Down

0 comments on commit 9a01dcf

Please sign in to comment.