mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-24 05:22:22 +02:00
[eric] onboarding: preserve stale cinematic-flow WIP before v3 supersedes this line
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user