From e2af5c0f2fe63a7fc104f0ce98eb29f66b727861 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Wed, 6 May 2026 09:57:35 +0100 Subject: [PATCH] fix(share): correct decisionState type narrowing in ShareView Wrap the render condition in parentheses and include 'submitting' so TypeScript does not narrow decisionState to 'idle'|'error' inside the review form block, eliminating four TS2367 comparison errors. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/routes/ShareView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/ShareView.tsx b/frontend/src/routes/ShareView.tsx index 601d2bc..f61597c 100644 --- a/frontend/src/routes/ShareView.tsx +++ b/frontend/src/routes/ShareView.tsx @@ -203,7 +203,7 @@ export function ShareView() { {/* Client review section */} - {isPendingReview && decisionState === 'idle' || decisionState === 'error' ? ( + {isPendingReview && (decisionState === 'idle' || decisionState === 'submitting' || decisionState === 'error') ? (

Your Review