aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/SubmitStatusLabel.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-03-06 02:18:40 +0900
committernsfisis <nsfisis@gmail.com>2026-03-06 02:18:40 +0900
commit46f9ba5d8c295454381655e6ec02ad3cf8bd79db (patch)
treec54719cb129ee05f96c4898219588062f71daa36 /frontend/app/components/SubmitStatusLabel.tsx
parent27f509ccf4fbfeaa1bc2580ae2251461dc44ebfa (diff)
downloadphperkaigi-2026-albatross-46f9ba5d8c295454381655e6ec02ad3cf8bd79db.tar.gz
phperkaigi-2026-albatross-46f9ba5d8c295454381655e6ec02ad3cf8bd79db.tar.zst
phperkaigi-2026-albatross-46f9ba5d8c295454381655e6ec02ad3cf8bd79db.zip
style: switch from tab to space indentation in frontend and worker/php
Update biome.json indentStyle from "tab" to "space" and reformat all files in both workspaces. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'frontend/app/components/SubmitStatusLabel.tsx')
-rw-r--r--frontend/app/components/SubmitStatusLabel.tsx38
1 files changed, 19 insertions, 19 deletions
diff --git a/frontend/app/components/SubmitStatusLabel.tsx b/frontend/app/components/SubmitStatusLabel.tsx
index b3091b0..e511db2 100644
--- a/frontend/app/components/SubmitStatusLabel.tsx
+++ b/frontend/app/components/SubmitStatusLabel.tsx
@@ -1,26 +1,26 @@
import type { components } from "../api/schema";
type Props = {
- status: components["schemas"]["ExecutionStatus"];
+ status: components["schemas"]["ExecutionStatus"];
};
export default function SubmitStatusLabel({ status }: Props) {
- switch (status) {
- case "none":
- return "提出待ち";
- case "running":
- return "実行中...";
- case "success":
- return "成功";
- case "wrong_answer":
- return "テスト失敗";
- case "timeout":
- return "時間切れ";
- case "compile_error":
- return "コンパイルエラー";
- case "runtime_error":
- return "実行時エラー";
- case "internal_error":
- return "!内部エラー!";
- }
+ switch (status) {
+ case "none":
+ return "提出待ち";
+ case "running":
+ return "実行中...";
+ case "success":
+ return "成功";
+ case "wrong_answer":
+ return "テスト失敗";
+ case "timeout":
+ return "時間切れ";
+ case "compile_error":
+ return "コンパイルエラー";
+ case "runtime_error":
+ return "実行時エラー";
+ case "internal_error":
+ return "!内部エラー!";
+ }
}