Skip to content

Commit

Permalink
Fix typo in gas-estimation.md (MetaMask#768)
Browse files Browse the repository at this point in the history
Alert -> alert

An error happened: The "type" property must be one of: alert, confirmation, prompt.
  • Loading branch information
yuhatown authored May 23, 2023
1 parent 54496cf commit e29fa73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snaps/tutorials/gas-estimation.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const onRpcRequest: OnRpcRequestHandler = ({ origin, request }) => {
return snap.request({
method: 'snap_dialog',
params: {
type: 'Alert',
type: 'alert',
content: panel([
text(`Hello, **${origin}**!`),
text(`Current gas fee estimates: ${fees}`),
Expand Down

0 comments on commit e29fa73

Please sign in to comment.