aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/SubmitButton.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-21 12:22:32 +0900
committernsfisis <nsfisis@gmail.com>2025-03-21 12:24:00 +0900
commita75f9fa78897de7317fe336e68db7a255899ae33 (patch)
tree3ec56670b7f51c0f2929dfc0c9a55ae48f6820af /frontend/app/components/SubmitButton.tsx
parent95903269b252729ee6573a5b607d98fa0223cd9a (diff)
downloadphperkaigi-2025-albatross-a75f9fa78897de7317fe336e68db7a255899ae33.tar.gz
phperkaigi-2025-albatross-a75f9fa78897de7317fe336e68db7a255899ae33.tar.zst
phperkaigi-2025-albatross-a75f9fa78897de7317fe336e68db7a255899ae33.zip
feat(frontend): do not transit to finished page
Diffstat (limited to 'frontend/app/components/SubmitButton.tsx')
-rw-r--r--frontend/app/components/SubmitButton.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/app/components/SubmitButton.tsx b/frontend/app/components/SubmitButton.tsx
index 3c0d67c..2d5c9d1 100644
--- a/frontend/app/components/SubmitButton.tsx
+++ b/frontend/app/components/SubmitButton.tsx
@@ -6,7 +6,7 @@ export default function SubmitButton(props: ButtonProps) {
return (
<button
{...props}
- className="text-lg text-white bg-sky-600 px-4 py-2 rounded-sm transition duration-300 hover:bg-sky-500 focus:ring-3 focus:ring-sky-400 focus:outline-hidden"
+ className="text-lg text-white px-4 py-2 bg-sky-600 disabled:bg-gray-400 disabled:cursor-not-allowed rounded-sm transition duration-300 hover:bg-sky-500 focus:ring-3 focus:ring-sky-400 focus:outline-hidden"
/>
);
}