Skip to content

Commit

Permalink
refactor: snippets: remove quotes from object properties (MetaMask#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mostafatalaat770 authored Mar 14, 2023
1 parent de56a3d commit 090df38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/snippets/web3ToProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const accounts = await ethereum.request({ method: 'eth_accounts' });
web3.eth.sendTransaction(
{
to: '0x...',
'from': '0x...',
from: '0x...',
value: '0x...',
// And so on...
},
Expand All @@ -36,7 +36,7 @@ try {
params: [
{
to: '0x...',
'from': '0x...',
from: '0x...',
value: '0x...',
// And so on...
},
Expand Down

0 comments on commit 090df38

Please sign in to comment.