aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send/+layout.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/send/+layout.svelte')
-rw-r--r--src/routes/(app)/send/+layout.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/send/+layout.svelte b/src/routes/(app)/send/+layout.svelte
index 5e379c32..9e14fa39 100644
--- a/src/routes/(app)/send/+layout.svelte
+++ b/src/routes/(app)/send/+layout.svelte
@@ -9,7 +9,7 @@
let cancel = () => goto(`/${user.username}`);
</script>
-{#if user.haspin && (!$pin || $pin?.length !== 6)}
+{#if user?.haspin && (!$pin || $pin?.length !== 6)}
<Pin bind:value={$pin} {cancel} />
{/if}