X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/d6452c758bd00519efc390b5971d8c4e5aaa4267..e64f6ce65bdc760dc3a58a03e25cf559b6137d19:/src/App.svelte

diff --git a/src/App.svelte b/src/App.svelte
index 54cad5d..d120173 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -4,7 +4,6 @@
 
   import { page, refresh_page } from './lib/stores.js';
 
-  import Header from './components/Header.svelte';
   import Footer from './components/Footer.svelte';
   import ReportIssueModal from './components/ReportIssueModal.svelte';
   import SearchPage from './pages/SearchPage.svelte';
@@ -19,9 +18,8 @@
 </script>
 
 <!-- deal with back-button and other user action -->
-<svelte:window on:popstate={refresh_page} />
+<svelte:window on:popstate={() => refresh_page()} />
 
-<Header/>
 {#if view === 'search'}
 <SearchPage />
 {:else if view === 'reverse'}
