Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in test-snaps #3020

Merged
merged 2 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/examples/packages/notifications/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import { Box, Row, Address } from '@metamask/snaps-sdk/jsx';

/**
* Handle incoming JSON-RPC requests from the dapp, sent through the
* `wallet_invokeSnap` method. This handler handles two methods:
* `wallet_invokeSnap` method. This handler handles three methods:
*
* - `inApp`: Show an in-app notification to the user.
* - `native`: Show a desktop notification to the user.
* - `inApp-expanded`: Show an expanded view in-app notification to the user.
*
hmalik88 marked this conversation as resolved.
Show resolved Hide resolved
* @param params - The request parameters.
* @param params.request - The JSON-RPC request object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const Notifications: FunctionComponent = () => {
<Button
id="sendExpandedViewNotification"
disabled={isLoading}
onClick={handleClick('inApp-extended')}
onClick={handleClick('inApp-expanded')}
>
Send In-App Notification With Expanded View
</Button>
Expand Down
Loading