Skip to content

Commit db766f9

Browse files
authored
fix: grant spend permission button on add-sub-account page (#1663)
1 parent 43faf9f commit db766f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/testapp/src/pages/add-sub-account/components/GrantSpendPermission.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export function GrantSpendPermission({
108108

109109
const response = await provider?.request({
110110
method: 'eth_signTypedData_v4',
111-
params: [accounts[0] as Address, spendPermission],
111+
params: [accounts[1] as Address, spendPermission],
112112
});
113113
console.info('response', response);
114114
localStorage.setItem('cbwsdk.demo.spend-permission.signature', response as Hex);

0 commit comments

Comments
 (0)