minor fix

This commit is contained in:
Samuel Andert
2023-07-26 11:30:05 +02:00
parent 5c2f7afa5f
commit 14aad071f4
2 changed files with 21 additions and 24 deletions

View File

@ -1,6 +1,5 @@
<script>
import { onMount } from 'svelte';
export let services;
export let store;
@ -13,6 +12,10 @@
});
</script>
{#if $store && $store.pkpWallet.address}
<div class="p-12 bg-blue-400">Hello Earth {JSON.stringify($store.pkpWallet.address)}</div>
<!-- Only render the div when $store.pkpWallet is defined -->
{#if $store}
<div class="p-12 bg-blue-400">Hello Earth {$store.pkpWallet.address}</div>
{:else}
<!-- You can display a loader or placeholder content here -->
<div>Loading...</div>
{/if}