clicking the logo after the creation of the note should do a reset

This commit is contained in:
Tamás Kádár 2024-03-15 14:30:55 +00:00
parent e70f06f99f
commit b00846ce9d
1 changed files with 5 additions and 1 deletions

View File

@ -1,9 +1,13 @@
<script lang="ts">
import { status } from '$lib/stores/status'
function reset() {
window.location.reload()
}
</script>
<header>
<a href="/">
<a on:click={reset} href="/">
{#if $status?.theme_image}
<img alt="logo" src={$status.theme_image} />
{:else}