Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update appeals page in place instead of reloading
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 6e66f9c commit eb35e12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/appeals.tsx
Expand Up @@ -133,8 +133,8 @@ export default function () {
});

onClose();
await new Promise((p) => setTimeout(p, 5000));
location.reload();
pageProps.can_appeal = !pageProps.can_appeal;
pageProps.disabled = !pageProps.disabled;
}

return showSuccess ? (
Expand Down

0 comments on commit eb35e12

Please sign in to comment.