diff --git a/dapp/src/components/ConnectWalletModal/ConnectWalletButton.tsx b/dapp/src/components/ConnectWalletModal/ConnectWalletButton.tsx index a323181eb..e11caf8f0 100644 --- a/dapp/src/components/ConnectWalletModal/ConnectWalletButton.tsx +++ b/dapp/src/components/ConnectWalletModal/ConnectWalletButton.tsx @@ -2,6 +2,7 @@ import React, { useCallback, useEffect, useState } from "react" import { CONNECTION_ERRORS, ONE_SEC_IN_MILLISECONDS } from "#/constants" import { useAppDispatch, + useIsEmbed, useModal, useSignMessageAndCreateSession, useWallet, @@ -54,6 +55,7 @@ export default function ConnectWalletButton({ connector, onSuccess, }: ConnectWalletButtonProps) { + const { isEmbed } = useIsEmbed() const { address, isConnected, @@ -226,7 +228,7 @@ export default function ConnectWalletButton({ - Connect wallet + {`Connect ${isEmbed ? "account" : "wallet"}`} ) }