Update appeals page in place instead of reloading
This commit is contained in:
parent
6e66f9c7d1
commit
eb35e12850
@ -133,8 +133,8 @@ export default function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
onClose();
|
onClose();
|
||||||
await new Promise((p) => setTimeout(p, 5000));
|
pageProps.can_appeal = !pageProps.can_appeal;
|
||||||
location.reload();
|
pageProps.disabled = !pageProps.disabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
return showSuccess ? (
|
return showSuccess ? (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user