[eric] onboarding: preserve stale cinematic-flow WIP before v3 supersedes this line

This commit is contained in:
ciregenz
2026-07-15 00:37:38 -07:00
parent ebb8ab0054
commit e67dec985e
2 changed files with 4 additions and 1 deletions
@@ -30,6 +30,7 @@ function greetingFor(name: string): string {
}
export const OnboardingFlow: React.FC<{ onExit: () => void }> = ({ onExit }) => {
// Flow always starts at 'help'; editing this file Fast-Refreshes it back to the first screen.
const dispatch = useAppDispatch();
const [step, setStep] = useState<FlowStepId>('help');
const [persona, setPersona] = useState<PersonaId | null>(null);
@@ -12,7 +12,9 @@ export const OnboardingFlowPreview: React.FC = () => {
const [on, setOn] = useState(false);
useEffect(() => {
try { setOn(window.localStorage.getItem(FLAG) === '1'); } catch { /* no localStorage */ }
// TEMP (live test): force-show so it appears on load. Revert to the flag read below when done.
setOn(true);
// try { setOn(window.localStorage.getItem(FLAG) === '1'); } catch { /* no localStorage */ }
}, []);
if (!on) return null;