Skip to content

Commit

Permalink
Application modal causes reload loop
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDaub committed Jun 26, 2024
1 parent a51a4cb commit b7bef5e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/web/src/DelegationModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ function SimpleModal(props) {

function closeModal() {
setShowModal(false);
// NOTE: The Vote component cannot determine whether a new application key
// was stored in the localStorage and so we have to rely on reloading the
// page for the user as this is the simplest cause of action to fix.
location.reload();
}

useEffect(() => {
Expand Down

0 comments on commit b7bef5e

Please sign in to comment.