Skip to content

Commit

Permalink
fix: react-wallet-v2: ghostnet
Browse files Browse the repository at this point in the history
  • Loading branch information
dianasavvatina committed Oct 3, 2024
1 parent d631262 commit 7ee8e06
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function ProjectInfoCard({ metadata, intention }: IProps) {
<Col>
<Text h3 data-testid="session-info-card-text">
<span>{name}</span> <br />
<Text h4> wants to {intention ? intention : 'connect'}</Text>
<Text> wants to {intention ? intention : 'connect'}</Text>
</Text>
</Col>
</Row>
Expand Down
6 changes: 3 additions & 3 deletions advanced/wallets/react-wallet-v2/src/data/TezosData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export const TEZOS_MAINNET_CHAINS: Record<string, ChainMetadata> = {
}

export const TEZOS_TEST_CHAINS: Record<string, ChainMetadata> = {
'tezos:testnet': {
chainId: 'testnet',
name: 'Tezos Testnet',
'tezos:ghostnet': {
chainId: 'ghostnet',
name: 'Tezos Ghostnet',
logo: '/chain-logos/tezos.svg',
rgb: '44, 125, 247',
rpc: 'https://rpc.ghostnet.teztnets.com',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ export default function SessionProposalModal() {
<Row style={{ color: 'GrayText' }}>Smart Accounts</Row>
{smartAccountEnabled &&
namespaces &&
namespaces.eip155 &&
getAvailableSmartAccountsOnNamespaceChains(namespaces.eip155.chains).map(
(account, i) => {
if (!account) {
Expand Down Expand Up @@ -397,6 +398,7 @@ export default function SessionProposalModal() {
</Row>
{smartAccountEnabled &&
namespaces &&
namespaces.eip155 &&
getAvailableSmartAccountsOnNamespaceChains(namespaces.eip155.chains).map(
({ chain }, i) => {
if (!chain) {
Expand Down

0 comments on commit 7ee8e06

Please sign in to comment.