diff --git a/apps/playground/src/pages/svelte/getting-started/state.tsx b/apps/playground/src/pages/svelte/getting-started/state.tsx index 3fd6b012..2fb42e44 100644 --- a/apps/playground/src/pages/svelte/getting-started/state.tsx +++ b/apps/playground/src/pages/svelte/getting-started/state.tsx @@ -59,7 +59,7 @@ function Right() { example += ` $effect(() => {\n`; example += `\n`; example += ` if (BrowserWalletState.wallet) {\n`; - example += ` wallet.getChangeAddress().then(address => {\n`; + example += ` BrowserWalletState.wallet.getChangeAddress().then(address => {\n`; example += ` console.log(address);\n`; example += ` });\n`; example += ` }\n`;