We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 696284a + 1b5840e commit 8b82cfcCopy full SHA for 8b82cfc
1 file changed
packages/snap/src/utils/dialogs.tsx
@@ -1,19 +1,22 @@
1
-import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx";
+import { Box, Heading, Text, Link } from '@metamask/snaps-sdk/jsx';
2
3
export const installDialog = async () => {
4
await snap.request({
5
- method: "snap_dialog",
+ method: 'snap_dialog',
6
params: {
7
- type: "alert",
+ type: 'alert',
8
content: (
9
<Box>
10
<Heading>Thank you for installing Zcash Shielded Wallet snap</Heading>
11
<Text>
12
- This snap utilizes Zcash Web Wallet.
13
- Visit Zcash Web Wallet at <a href="https://webzjs.chainsafe.dev/">webzjs.chainsafe.dev</a>.
+ This snap utilizes Zcash Web Wallet. Visit Zcash Web Wallet at{' '}
+ <Link href="https://webzjs.chainsafe.dev/">
14
+ webzjs.chainsafe.dev
15
+ </Link>
16
+ .
17
</Text>
18
</Box>
19
),
20
},
21
});
-};
22
+};
0 commit comments