Skip to content

Commit 6df0bca

Browse files
committed
adding image to kusama
1 parent 1200e51 commit 6df0bca

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed
Lines changed: 1 addition & 0 deletions
Loading

src/app/[network]/(App)/teleport/page.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ const handleTransaction =
4444
}
4545

4646
const chainOptions: { [key: string]: string } = {
47-
'Rococo Relay Chain': '/assets/Images/NetworkIcons/rococo-img.svg',
48-
'Rococo Coretime Testnet': '/assets/Images/NetworkIcons/coretime-img.svg',
47+
rococo: '/assets/Images/NetworkIcons/rococo-img.svg',
48+
'rococo-coretime': '/assets/Images/NetworkIcons/coretime-img.svg',
49+
kusama: '/assets/Images/NetworkIcons/kusama-img.svg',
50+
'kusama-coretime': '/assets/Images/NetworkIcons/coretime-img.svg',
4951
}
5052

5153
const Teleport = () => {
@@ -126,7 +128,7 @@ const Teleport = () => {
126128
<Image
127129
src={
128130
chainOptions[
129-
(isRelayToPara ? activeRelayChain?.name : activeChain?.name) ||
131+
(isRelayToPara ? activeRelayChain?.network : activeChain?.network) ||
130132
'Rococo Relay Chain'
131133
]
132134
}
@@ -154,8 +156,8 @@ const Teleport = () => {
154156
<Image
155157
src={
156158
chainOptions[
157-
(isRelayToPara ? activeChain?.name : activeRelayChain?.name) ||
158-
'Rococo Relay Chain'
159+
(isRelayToPara ? activeChain?.network : activeRelayChain?.network) ||
160+
'rococo'
159161
]
160162
}
161163
alt=""

0 commit comments

Comments
 (0)