fix: repair JSX parse error in PRD page (nested ternary → && conditionals)

Made-with: Cursor
This commit is contained in:
2026-03-10 17:29:05 -07:00
parent 46efc41812
commit 63dded42a6

View File

@@ -262,9 +262,8 @@ export default function PRDPage() {
<ArchitectureView arch={architecture} />
)}
{/* PRD tab */}
{activeTab === "prd" && prd ? (
/* ── Finalized PRD view ── */
{/* PRD tab — finalized */}
{activeTab === "prd" && prd && (
<div style={{ maxWidth: 760 }}>
<div style={{ display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: 20 }}>
<h3 style={{ fontFamily: "Newsreader, serif", fontSize: "1.2rem", fontWeight: 400, color: "#1a1a1a", margin: 0 }}>
@@ -283,7 +282,10 @@ export default function PRDPage() {
{prd}
</div>
</div>
) : activeTab === "prd" ? (
)}
{/* PRD tab — section progress (no finalized PRD yet) */}
{activeTab === "prd" && !prd && (
/* ── Section progress view ── */
<div style={{ maxWidth: 680 }}>
{/* Progress bar */}