updated the reference key for data and store to store mapping to @data: and @storeID: in composite.

This commit is contained in:
Samuel Andert
2023-07-27 14:28:40 +02:00
parent 1ce7b80c9b
commit b546a22302
7 changed files with 33 additions and 24 deletions

View File

@ -2,7 +2,13 @@
import Composite from '$lib/core/Composite.svelte';
let composite = {
id: 'composite',
id: 'wallet',
store: {
pkpWallet: '',
rpcURL: 'https://rpc.gnosischain.com/',
pkpPubKey:
'046da3ba67065fd1e2726242ca01cd4601524893f4aa4b0042578fa6cbec28fa8c9a28eb9f7893932fc09717edc9e1db57e157a21eed346247c1db5a722a01f571'
},
layout: {
areas: `
"top"
@ -18,14 +24,14 @@
slot: 'top'
},
{
id: 'wallet',
id: 'xyz',
component: 'Wallet',
slot: 'main',
store: {
pkpWallet: '',
rpcURL: 'https://rpc.gnosischain.com/',
pkpPubKey:
'046da3ba67065fd1e2726242ca01cd4601524893f4aa4b0042578fa6cbec28fa8c9a28eb9f7893932fc09717edc9e1db57e157a21eed346247c1db5a722a01f571'
map: {
rpcURL: '@wallet:rpcURL',
pkpPubKey: '@wallet:pkpPubKey',
pkpWallet: '@wallet:pkpWallet',
todos: '@data:queryTodos'
}
},
{