diff --git a/app/page.jsx b/app/page.jsx index cd65885..7c79580 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -8,6 +8,7 @@ const INVESTIGATION_ID = "case-1"; function Portfolio() { const [existing, setExisting] = React.useState(null); + const [showRestartConfirm, setShowRestartConfirm] = React.useState(false); React.useEffect(() => { setExisting(loadInvestigation()); @@ -54,13 +55,51 @@ function Portfolio() { + + {showRestartConfirm && ( +
+ Your current investigation, findings, clarified questions, and report will be lost. Are you sure you want to continue? +
+