diff --git a/examples/svelte/src/App.svelte b/examples/svelte/src/App.svelte index a8f3d98..0322f41 100644 --- a/examples/svelte/src/App.svelte +++ b/examples/svelte/src/App.svelte @@ -15,20 +15,23 @@ const evm = addEvmConnection($wagmiConfig) let account - const connect = async (conf) => create(conf).then((connect) => connect() - .then(res => { - account = { - config: res, - accountData: res.accountData - } - console.log(res) - }) - .catch(err => console.error(err)) + const connect = async (conf) => + create(conf).then((connect) => + connect() + .then((res) => { + account = { + config: res, + accountData: res.accountData + } + console.log(res) + }) + .catch((err) => console.error(err)) ) +
- - + +
@@ -43,8 +46,8 @@

{#if account} - - {/if} + + {/if}