added core default services to our composite
This commit is contained in:
@ -7,6 +7,10 @@
|
||||
$: if (services && services.helloEarthAlert) {
|
||||
// services.helloEarthAlert.alertMe();
|
||||
}
|
||||
$: if (services.core) {
|
||||
console.log('services: ' + JSON.stringify(services));
|
||||
// services.core.testAlert();
|
||||
}
|
||||
|
||||
$: if ($store) isStoreLoaded = true;
|
||||
</script>
|
||||
@ -14,9 +18,15 @@
|
||||
{#if isStoreLoaded}
|
||||
<div class="p-12 bg-blue-400 rounded-md shadow-lg">
|
||||
<p class="mb-4 text-xl font-bold text-white">Hello Earth</p>
|
||||
Wallet Address:
|
||||
{#if $store.pkpWallet}
|
||||
<p class="mb-6 text-white">Wallet Address: {$store.pkpWallet.address}</p>
|
||||
<p class="mb-6 text-white">{$store.pkpWallet.address}</p>
|
||||
{/if}
|
||||
<br />
|
||||
hello store: {#if $store.hello}{$store.hello}{/if}
|
||||
<br />
|
||||
hello store2: {#if $store.hello2}{$store.hello2}{/if}
|
||||
<br />
|
||||
Reference TodoList
|
||||
{#if $store.todos}
|
||||
<ul class="pl-5 list-decimal">
|
||||
|
Reference in New Issue
Block a user