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';
<!-- deal with back-button and other user action -->
<svelte:window on:popstate={() => refresh_page()} />
-<Header/>
{#if view === 'search'}
<SearchPage />
{:else if view === 'reverse'}