This commit is contained in:
Samuel Andert 2023-07-29 19:06:42 +02:00
parent fa5764c303
commit 7cd7506e1d
2 changed files with 13 additions and 9 deletions

View File

@ -1,6 +1,7 @@
<script>
import { onMount } from 'svelte';
import { connectWallet } from '$lib/services/wallet/wallet';
import WalletConnect from '$lib/WalletConnect.svelte';
// export let id;
export let store;
@ -14,9 +15,12 @@
});
</script>
PkpWallet
{#if $store.pkpWallet}
<div class="mb-4 text-lg font-medium">
PKP Wallet: <span class="text-blue-600">{$store.pkpWallet.address}</span>
</div>
{/if}
<div>
PkpWallet
{#if $store.pkpWallet}
<div class="mb-4 text-lg font-medium">
PKP Wallet: <span class="text-blue-600">{$store.pkpWallet.address}</span>
</div>
{/if}
<WalletConnect />
</div>

View File

@ -1,9 +1,9 @@
<script lang="ts">
import Composite from '$lib/core/Composite.svelte';
import type { PageData } from './$houdini';
export let data: PageData;
// import type { PageData } from './$houdini';
// export let data: PageData;
$: ({ queryTest } = data);
// $: ({ queryTest } = data);
let composite = {
id: 'test',