page wrapper

This commit is contained in:
2026-01-07 12:40:52 +01:00
parent e589c30bf8
commit 0db80fa98d
128 changed files with 7386 additions and 8096 deletions

View File

@@ -156,7 +156,7 @@ export default function ProtestReviewPage() {
}, [penaltyTypes, penaltyType]);
const handleSubmitDecision = async () => {
if (!decision || !stewardNotes.trim() || !detail) return;
if (!decision || !stewardNotes.trim() || !detail || !currentDriverId) return;
setSubmitting(true);
try {
@@ -241,7 +241,7 @@ export default function ProtestReviewPage() {
};
const handleRequestDefense = async () => {
if (!detail) return;
if (!detail || !currentDriverId) return;
try {
// Request defense
@@ -734,4 +734,4 @@ export default function ProtestReviewPage() {
}}
</StateContainer>
);
}
}