diff --git a/app/routes/appeals.tsx b/app/routes/appeals.tsx index fb6f3ff..793f19a 100644 --- a/app/routes/appeals.tsx +++ b/app/routes/appeals.tsx @@ -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 ? (