Skip to content

Commit 2472b47

Browse files
committed
fix relative path for assets
1 parent d8c0d92 commit 2472b47

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

app/components/wallet/ConnectWalletButton.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const ConnectWalletButton: FC = () => {
3737
}}
3838
>
3939
<img
40-
src="/assets/ethereum.svg"
40+
src="./assets/ethereum.svg"
4141
alt="EVM Wallets"
4242
style={{ marginRight: '0.3rem', height: '1.8rem' }}
4343
/>{' '}
@@ -60,7 +60,7 @@ export const ConnectWalletButton: FC = () => {
6060
}}
6161
>
6262
<img
63-
src="/assets/solana.svg"
63+
src="./assets/solana.svg"
6464
alt="Solana Wallets"
6565
style={{ marginRight: '0.3rem', height: '1.8rem' }}
6666
/>{' '}

app/utils/network.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -19,63 +19,63 @@ type SupportedSolanaChain = Omit<SupportedEvmChain, 'rpcUrl' | 'network'> & {
1919
export const supportedEvmChains: SupportedEvmChain[] = [
2020
{
2121
network: 'mainnet',
22-
icon: '/assets/ethereum.svg',
22+
icon: './assets/ethereum.svg',
2323
id: '0x1',
2424
token: 'ETH',
2525
label: 'Ethereum',
2626
rpcUrl: 'https://arbitrum-one.publicnode.com'
2727
},
2828
{
2929
network: 'mainnet',
30-
icon: '/assets/arbitrum.svg',
30+
icon: './assets/arbitrum.svg',
3131
id: '0xa4b1',
3232
token: 'ETH',
3333
label: 'Arbitrum One',
3434
rpcUrl: 'https://ethereum-rpc.publicnode.com'
3535
},
3636
{
3737
network: 'mainnet',
38-
icon: '/assets/optimism.svg',
38+
icon: './assets/optimism.svg',
3939
id: '0xa',
4040
token: 'ETH',
4141
label: 'OP Mainnet',
4242
rpcUrl: 'https://mainnet.optimism.io'
4343
},
4444
{
4545
network: 'mainnet',
46-
icon: '/assets/base.svg',
46+
icon: './assets/base.svg',
4747
id: '0x2105',
4848
token: 'ETH',
4949
label: 'Base',
5050
rpcUrl: 'https://base-rpc.publicnode.com'
5151
},
5252
{
5353
network: 'testnet',
54-
icon: '/assets/sepolia.svg',
54+
icon: './assets/sepolia.svg',
5555
id: '0xaa36a7',
5656
token: 'ETH',
5757
label: 'Sepolia',
5858
rpcUrl: 'https://ethereum-sepolia-rpc.publicnode.com'
5959
},
6060
{
6161
network: 'testnet',
62-
icon: '/assets/arbitrum_sepolia.svg',
62+
icon: './assets/arbitrum_sepolia.svg',
6363
id: '0x66eee',
6464
token: 'ETH',
6565
label: 'Arbitrum Sepolia',
6666
rpcUrl: 'https://arbitrum-sepolia.publicnode.com'
6767
},
6868
{
6969
network: 'testnet',
70-
icon: '/assets/optimism_sepolia.svg',
70+
icon: './assets/optimism_sepolia.svg',
7171
id: '0xaa37dc',
7272
token: 'ETH',
7373
label: 'OP Sepolia',
7474
rpcUrl: 'https://optimism-sepolia.publicnode.com'
7575
},
7676
{
7777
network: 'testnet',
78-
icon: '/assets/base_sepolia.svg',
78+
icon: './assets/base_sepolia.svg',
7979
id: '0x14a34',
8080
token: 'ETH',
8181
label: 'Base Sepolia',
@@ -88,7 +88,7 @@ export const supportedEvmChainIds = supportedEvmChains.map(({ id }) => Number(id
8888
export const supportedSolanaChains: SupportedSolanaChain[] = [
8989
{
9090
network: WalletAdapterNetwork.Devnet,
91-
icon: '/assets/solana_devnet.svg',
91+
icon: './assets/solana_devnet.svg',
9292
id: '901901901',
9393
token: 'SOL',
9494
label: 'Solana Devnet'

0 commit comments

Comments
 (0)