minor fix
This commit is contained in:
@ -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}
|
||||
|
Reference in New Issue
Block a user