Don't auto-open the guided tour on first visit
Start in the regular map view; the tour stays reachable via the existing "Uitleg" button in the top menu (and About → start tutorial on mobile). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
22e54a57a5
commit
f2205cddd3
@@ -50,14 +50,6 @@ export default function Home() {
|
||||
const [showShare, setShowShare] = useState(false);
|
||||
const [showTutorial, setShowTutorial] = useState(false);
|
||||
const [mobileSidebarOpen, setMobileSidebarOpen] = useState(false);
|
||||
|
||||
// Auto-open the tutorial on first visit.
|
||||
useEffect(() => {
|
||||
if (!localStorage.getItem("tutorialSeen")) {
|
||||
setShowTutorial(true);
|
||||
localStorage.setItem("tutorialSeen", "1");
|
||||
}
|
||||
}, []);
|
||||
const [choropleth, setChoropleth] = useState<ChoroplethData | null>(null);
|
||||
const [analysisMetric, setAnalysisMetric] = useState<string | null>(null);
|
||||
const [selectedArea, setSelectedArea] = useState<AreaProps | null>(null);
|
||||
|
||||
Reference in New Issue
Block a user