fixes
All checks were successful
deploy to production / deploy (push) Successful in 34s

This commit is contained in:
Robin Grenzdörfer 2023-09-01 15:15:41 +00:00
parent f3a22c7543
commit 77affb9705
2 changed files with 5 additions and 1 deletions

View File

@ -71,7 +71,9 @@
</Route> </Route>
</Router> </Router>
</div> </div>
<Footer /> {#key $rerender}
<Footer />
{/key}
</main> </main>
<ScrollTop /> <ScrollTop />

View File

@ -1,5 +1,6 @@
<script lang="ts"> <script lang="ts">
import { navigate } from "svelte-routing/src/history" import { navigate } from "svelte-routing/src/history"
import { rerender } from "../../store"
export let active = false export let active = false
export let opened = false export let opened = false
@ -11,6 +12,7 @@
on:keydown on:keydown
on:click="{() => { on:click="{() => {
active = false active = false
$rerender = $rerender + 1
navigate('/') navigate('/')
}}" }}"
> >