refactoring step1 GoogleAuth
This commit is contained in:
@ -5,31 +5,24 @@
|
||||
layout: `
|
||||
grid-template-areas:
|
||||
"login",
|
||||
grid-template-rows: 1fr;
|
||||
"play"
|
||||
grid-template-rows: 1fr 1fr;
|
||||
`,
|
||||
children: [
|
||||
{
|
||||
id: 'login1',
|
||||
componentName: 'Login',
|
||||
slot: 'Login',
|
||||
children: [
|
||||
{
|
||||
id: 'wallet1',
|
||||
componentName: 'Wallet',
|
||||
state: {
|
||||
rpcURL: 'https://rpc.gnosischain.com/',
|
||||
pkpPubKey:
|
||||
'046da3ba67065fd1e2726242ca01cd4601524893f4aa4b0042578fa6cbec28fa8c9a28eb9f7893932fc09717edc9e1db57e157a21eed346247c1db5a722a01f571'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
id: 'HelloEarth1',
|
||||
componentName: 'HelloEarth',
|
||||
map: { pkp: 'wallet1.pkpPubKey', rpcURL: 'wallet1.rpcURL' }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
componentName: 'GoogleAuth',
|
||||
slot: 'login'
|
||||
},
|
||||
{
|
||||
id: 'wallet1',
|
||||
componentName: 'Wallet',
|
||||
slot: 'play',
|
||||
state: {
|
||||
rpcURL: 'https://rpc.gnosischain.com/',
|
||||
pkpPubKey:
|
||||
'046da3ba67065fd1e2726242ca01cd4601524893f4aa4b0042578fa6cbec28fa8c9a28eb9f7893932fc09717edc9e1db57e157a21eed346247c1db5a722a01f571'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
Reference in New Issue
Block a user