From f629ac29986c66ba8a7698645cdfb3dcf9aa2559 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 27 Dec 2024 18:00:26 -0800 Subject: [PATCH] web: submission page reload after action request completes --- web/src/app/submissions/[submissionId]/_reviewButtons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/app/submissions/[submissionId]/_reviewButtons.tsx b/web/src/app/submissions/[submissionId]/_reviewButtons.tsx index c5f227a..23a8230 100644 --- a/web/src/app/submissions/[submissionId]/_reviewButtons.tsx +++ b/web/src/app/submissions/[submissionId]/_reviewButtons.tsx @@ -18,7 +18,7 @@ function ReviewButtonClicked(action: Action, submissionId: string) { headers: { "Content-type": "application/json", } - }) + }).then(() => { window.location.reload(); }) } function ReviewButton(props: ReviewButton) {