Skip to content

Commit 8b82cfc

Browse files
authored
Merge pull request #126 from ChainSafe/rob1997/snap-connection-fix
MM Snap Connection Fix
2 parents 696284a + 1b5840e commit 8b82cfc

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx";
1+
import { Box, Heading, Text, Link } from '@metamask/snaps-sdk/jsx';
22

33
export const installDialog = async () => {
44
await snap.request({
5-
method: "snap_dialog",
5+
method: 'snap_dialog',
66
params: {
7-
type: "alert",
7+
type: 'alert',
88
content: (
99
<Box>
1010
<Heading>Thank you for installing Zcash Shielded Wallet snap</Heading>
1111
<Text>
12-
This snap utilizes Zcash Web Wallet.
13-
Visit Zcash Web Wallet at <a href="https://webzjs.chainsafe.dev/">webzjs.chainsafe.dev</a>.
12+
This snap utilizes Zcash Web Wallet. Visit Zcash Web Wallet at{' '}
13+
<Link href="https://webzjs.chainsafe.dev/">
14+
webzjs.chainsafe.dev
15+
</Link>
16+
.
1417
</Text>
1518
</Box>
1619
),
1720
},
1821
});
19-
};
22+
};

0 commit comments

Comments
 (0)