Skip to content

Commit

Permalink
fix relative path for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarnadas committed Oct 25, 2024
1 parent d8c0d92 commit 2472b47
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions app/components/wallet/ConnectWalletButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const ConnectWalletButton: FC = () => {
}}
>
<img
src="/assets/ethereum.svg"
src="./assets/ethereum.svg"
alt="EVM Wallets"
style={{ marginRight: '0.3rem', height: '1.8rem' }}
/>{' '}
Expand All @@ -60,7 +60,7 @@ export const ConnectWalletButton: FC = () => {
}}
>
<img
src="/assets/solana.svg"
src="./assets/solana.svg"
alt="Solana Wallets"
style={{ marginRight: '0.3rem', height: '1.8rem' }}
/>{' '}
Expand Down
18 changes: 9 additions & 9 deletions app/utils/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,63 +19,63 @@ type SupportedSolanaChain = Omit<SupportedEvmChain, 'rpcUrl' | 'network'> & {
export const supportedEvmChains: SupportedEvmChain[] = [
{
network: 'mainnet',
icon: '/assets/ethereum.svg',
icon: './assets/ethereum.svg',
id: '0x1',
token: 'ETH',
label: 'Ethereum',
rpcUrl: 'https://arbitrum-one.publicnode.com'
},
{
network: 'mainnet',
icon: '/assets/arbitrum.svg',
icon: './assets/arbitrum.svg',
id: '0xa4b1',
token: 'ETH',
label: 'Arbitrum One',
rpcUrl: 'https://ethereum-rpc.publicnode.com'
},
{
network: 'mainnet',
icon: '/assets/optimism.svg',
icon: './assets/optimism.svg',
id: '0xa',
token: 'ETH',
label: 'OP Mainnet',
rpcUrl: 'https://mainnet.optimism.io'
},
{
network: 'mainnet',
icon: '/assets/base.svg',
icon: './assets/base.svg',
id: '0x2105',
token: 'ETH',
label: 'Base',
rpcUrl: 'https://base-rpc.publicnode.com'
},
{
network: 'testnet',
icon: '/assets/sepolia.svg',
icon: './assets/sepolia.svg',
id: '0xaa36a7',
token: 'ETH',
label: 'Sepolia',
rpcUrl: 'https://ethereum-sepolia-rpc.publicnode.com'
},
{
network: 'testnet',
icon: '/assets/arbitrum_sepolia.svg',
icon: './assets/arbitrum_sepolia.svg',
id: '0x66eee',
token: 'ETH',
label: 'Arbitrum Sepolia',
rpcUrl: 'https://arbitrum-sepolia.publicnode.com'
},
{
network: 'testnet',
icon: '/assets/optimism_sepolia.svg',
icon: './assets/optimism_sepolia.svg',
id: '0xaa37dc',
token: 'ETH',
label: 'OP Sepolia',
rpcUrl: 'https://optimism-sepolia.publicnode.com'
},
{
network: 'testnet',
icon: '/assets/base_sepolia.svg',
icon: './assets/base_sepolia.svg',
id: '0x14a34',
token: 'ETH',
label: 'Base Sepolia',
Expand All @@ -88,7 +88,7 @@ export const supportedEvmChainIds = supportedEvmChains.map(({ id }) => Number(id
export const supportedSolanaChains: SupportedSolanaChain[] = [
{
network: WalletAdapterNetwork.Devnet,
icon: '/assets/solana_devnet.svg',
icon: './assets/solana_devnet.svg',
id: '901901901',
token: 'SOL',
label: 'Solana Devnet'
Expand Down

0 comments on commit 2472b47

Please sign in to comment.