breaking changes, major refactoring of Composite
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
<script>
|
||||
import { onMount } from 'svelte';
|
||||
import { connectWallet } from '$lib/services/wallet/wallet';
|
||||
import { getComponentStore } from '$lib/stores/componentStores.ts';
|
||||
import { getCompositeStore } from '$lib/core/compositeStores';
|
||||
|
||||
export let id;
|
||||
const store = getComponentStore(id);
|
||||
const store = getCompositeStore(id);
|
||||
|
||||
onMount(async () => {
|
||||
$store.pkpWallet = await connectWallet($store.pkpPubKey, $store.rpcURL);
|
||||
|
Reference in New Issue
Block a user