Skip to content

Commit

Permalink
chore: change index.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
khanti42 committed Dec 16, 2024
1 parent edb546d commit 7bb779c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/starknet-snap/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export const onRpcRequest: OnRpcRequestHandler = async ({
}
} catch (error) {
let snapError = error;
console.log(error);

if (!isSnapRpcError(error)) {
// To ensure the error meets both the SnapError format and WalletRpc format.
snapError = new UnknownError('Unable to execute the rpc request');
Expand All @@ -299,7 +299,7 @@ export const onRpcRequest: OnRpcRequestHandler = async ({
export const onInstall: OnInstallHandler = async () => {
await ensureJsxSupport(
<Box>
<Text>Your MetaMask wallet is now compatible with Starknet.</Text>
<Text>Your MetaMask wallet is now compatible with Starknet!</Text>
<Text>
To manage your Starknet account and send and receive funds, visit the{' '}
<Link href={getDappUrl()}>companion dapp for Starknet</Link>.
Expand Down

0 comments on commit 7bb779c

Please sign in to comment.