aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/Gaming/SubmitResult.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-16 00:42:54 +0900
committernsfisis <nsfisis@gmail.com>2025-03-16 00:42:54 +0900
commit4ea5bab83311929ab5e7f055cf24a71d224fbd98 (patch)
treeabb99f54fced10d3fe23d81d0c9c7475ee189bc8 /frontend/app/components/Gaming/SubmitResult.tsx
parent074c1fba509987e9ee8f9b1593d3e2a205127f10 (diff)
downloadphperkaigi-2025-albatross-4ea5bab83311929ab5e7f055cf24a71d224fbd98.tar.gz
phperkaigi-2025-albatross-4ea5bab83311929ab5e7f055cf24a71d224fbd98.tar.zst
phperkaigi-2025-albatross-4ea5bab83311929ab5e7f055cf24a71d224fbd98.zip
feat(frontend): show the current code size
Diffstat (limited to 'frontend/app/components/Gaming/SubmitResult.tsx')
-rw-r--r--frontend/app/components/Gaming/SubmitResult.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/frontend/app/components/Gaming/SubmitResult.tsx b/frontend/app/components/Gaming/SubmitResult.tsx
index a78c79e..ea75b6b 100644
--- a/frontend/app/components/Gaming/SubmitResult.tsx
+++ b/frontend/app/components/Gaming/SubmitResult.tsx
@@ -1,17 +1,14 @@
-import React from "react";
import type { components } from "../../api/schema";
import SubmitStatusLabel from "../SubmitStatusLabel";
type Props = {
status: components["schemas"]["ExecutionStatus"];
- submitButton?: React.ReactNode;
};
-export default function SubmitResult({ status, submitButton }: Props) {
+export default function SubmitResult({ status }: Props) {
return (
<div className="flex flex-col gap-2">
<div className="flex">
- {submitButton}
<div className="grow font-bold text-xl text-center">
<SubmitStatusLabel status={status} />
</div>