mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-22 00:06:28 +00:00
clicking the logo after the creation of the note should do a reset
This commit is contained in:
parent
e70f06f99f
commit
b00846ce9d
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user