Fix more stuff, particularly event handlers
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
children?: import("svelte").Snippet
|
||||
}
|
||||
|
||||
let {children}: Props = $props()
|
||||
const {children}: Props = $props()
|
||||
|
||||
const logout = () => pushModal(LogOut)
|
||||
</script>
|
||||
@@ -39,7 +39,7 @@
|
||||
</SecondaryNavItem>
|
||||
</div>
|
||||
<div in:fly|local={{delay: 200}}>
|
||||
<SecondaryNavItem class="text-error hover:text-error" on:click={logout}>
|
||||
<SecondaryNavItem class="text-error hover:text-error" onclick={logout}>
|
||||
<Icon icon="exit" /> Log Out
|
||||
</SecondaryNavItem>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user