Update appeals page in place instead of reloading

This commit is contained in:
2023-10-19 16:50:34 -04:00
parent 6e66f9c7d1
commit eb35e12850

View File

@ -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 ? (