diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-12 02:08:55 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-12 02:10:36 +0900 |
| commit | 699c5ce665bae6bcc406a0f7de994bb218a9977e (patch) | |
| tree | a1c97c6e9f123bffbc5836a9a603352a0fb426aa /frontend/app/components/SubmitStatusLabel.tsx | |
| parent | 9f022ce7e59213284896a07a53bfef232a6e62d3 (diff) | |
| download | iosdc-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.tsx | 2 |
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": |
