Skip to content

Commit 7ee8e06

Browse files
fix: react-wallet-v2: ghostnet
1 parent d631262 commit 7ee8e06

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

advanced/wallets/react-wallet-v2/src/components/ProjectInfoCard.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function ProjectInfoCard({ metadata, intention }: IProps) {
6161
<Col>
6262
<Text h3 data-testid="session-info-card-text">
6363
<span>{name}</span> <br />
64-
<Text h4> wants to {intention ? intention : 'connect'}</Text>
64+
<Text> wants to {intention ? intention : 'connect'}</Text>
6565
</Text>
6666
</Col>
6767
</Row>

advanced/wallets/react-wallet-v2/src/data/TezosData.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ export const TEZOS_MAINNET_CHAINS: Record<string, ChainMetadata> = {
2828
}
2929

3030
export const TEZOS_TEST_CHAINS: Record<string, ChainMetadata> = {
31-
'tezos:testnet': {
32-
chainId: 'testnet',
33-
name: 'Tezos Testnet',
31+
'tezos:ghostnet': {
32+
chainId: 'ghostnet',
33+
name: 'Tezos Ghostnet',
3434
logo: '/chain-logos/tezos.svg',
3535
rgb: '44, 125, 247',
3636
rpc: 'https://rpc.ghostnet.teztnets.com',

advanced/wallets/react-wallet-v2/src/views/SessionProposalModal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ export default function SessionProposalModal() {
363363
<Row style={{ color: 'GrayText' }}>Smart Accounts</Row>
364364
{smartAccountEnabled &&
365365
namespaces &&
366+
namespaces.eip155 &&
366367
getAvailableSmartAccountsOnNamespaceChains(namespaces.eip155.chains).map(
367368
(account, i) => {
368369
if (!account) {
@@ -397,6 +398,7 @@ export default function SessionProposalModal() {
397398
</Row>
398399
{smartAccountEnabled &&
399400
namespaces &&
401+
namespaces.eip155 &&
400402
getAvailableSmartAccountsOnNamespaceChains(namespaces.eip155.chains).map(
401403
({ chain }, i) => {
402404
if (!chain) {

0 commit comments

Comments
 (0)