aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/SubmitStatusLabel.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-12 02:08:55 +0900
committernsfisis <nsfisis@gmail.com>2024-08-12 02:10:36 +0900
commit699c5ce665bae6bcc406a0f7de994bb218a9977e (patch)
treea1c97c6e9f123bffbc5836a9a603352a0fb426aa /frontend/app/components/SubmitStatusLabel.tsx
parent9f022ce7e59213284896a07a53bfef232a6e62d3 (diff)
downloadiosdc-japan-2024-albatross-699c5ce665bae6bcc406a0f7de994bb218a9977e.tar.gz
iosdc-japan-2024-albatross-699c5ce665bae6bcc406a0f7de994bb218a9977e.tar.zst
iosdc-japan-2024-albatross-699c5ce665bae6bcc406a0f7de994bb218a9977e.zip
feat(frontend): show submission result at first rendering
Diffstat (limited to 'frontend/app/components/SubmitStatusLabel.tsx')
-rw-r--r--frontend/app/components/SubmitStatusLabel.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/app/components/SubmitStatusLabel.tsx b/frontend/app/components/SubmitStatusLabel.tsx
index f6e19bb..2d4890d 100644
--- a/frontend/app/components/SubmitStatusLabel.tsx
+++ b/frontend/app/components/SubmitStatusLabel.tsx
@@ -6,6 +6,8 @@ type Props = {
export default function SubmitStatusLabel({ status }: Props) {
switch (status) {
+ case "waiting_submission":
+ return <span>-</span>;
case "running":
return <span>Running...</span>;
case "success":