diff --git a/apps/web/src/components/review/ReviewTab.tsx b/apps/web/src/components/review/ReviewTab.tsx index 56cd98b..20d46d9 100644 --- a/apps/web/src/components/review/ReviewTab.tsx +++ b/apps/web/src/components/review/ReviewTab.tsx @@ -234,49 +234,47 @@ export function ReviewTab({ initiativeId }: ReviewTabProps) { preview={previewState} /> - {/* Main content area */} - {isDiffLoading ? ( -
- - Loading diff... -
- ) : ( -
- {/* Left: Diff */} -
- {files.length === 0 ? ( -
- {selectedCommit - ? "No changes in this commit" - : "No changes in this phase"} -
- ) : ( - - )} -
- - {/* Right: Sidebar — sticky so icon strip stays visible */} -
-
- + {/* Main content area — sidebar always rendered to preserve state */} +
+ {/* Left: Diff */} +
+ {isDiffLoading ? ( +
+ + Loading diff...
+ ) : files.length === 0 ? ( +
+ {selectedCommit + ? "No changes in this commit" + : "No changes in this phase"} +
+ ) : ( + + )} +
+ + {/* Right: Sidebar — sticky so icon strip stays visible */} +
+
+
- )} +
); }