From f2205cddd3a78bbca3d67f2bd8f521463268bee7 Mon Sep 17 00:00:00 2001 From: robbertjanssen85 <91183957+robbertjanssen85@users.noreply.github.com> Date: Sun, 7 Jun 2026 21:34:24 +0200 Subject: [PATCH] Don't auto-open the guided tour on first visit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- webapp/app/page.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/webapp/app/page.tsx b/webapp/app/page.tsx index 2e69a354bc..7762b979a2 100644 --- a/webapp/app/page.tsx +++ b/webapp/app/page.tsx @@ -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(null); const [analysisMetric, setAnalysisMetric] = useState(null); const [selectedArea, setSelectedArea] = useState(null);