Skip to content

Commit dd77ce5

Browse files
fix: react-wallet-v2: ghostnet
1 parent 14a964f commit dd77ce5

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
@@ -372,6 +372,7 @@ export default function SessionProposalModal() {
372372
<Row style={{ color: 'GrayText' }}>Smart Accounts</Row>
373373
{smartAccountEnabled &&
374374
namespaces &&
375+
namespaces.eip155 &&
375376
getAvailableSmartAccountsOnNamespaceChains(namespaces.eip155.chains).map(
376377
(account, i) => {
377378
if (!account) {
@@ -406,6 +407,7 @@ export default function SessionProposalModal() {
406407
</Row>
407408
{smartAccountEnabled &&
408409
namespaces &&
410+
namespaces.eip155 &&
409411
getAvailableSmartAccountsOnNamespaceChains(namespaces.eip155.chains).map(
410412
({ chain }, i) => {
411413
if (!chain) {

0 commit comments

Comments
 (0)