updated the reference key for data and store to store mapping to @data: and @storeID: in composite.
This commit is contained in:
@ -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'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user