File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
public/assets/Images/NetworkIcons
src/app/[network]/(App)/teleport Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,10 @@ const handleTransaction =
4444 }
4545
4646const 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
5153const 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 = ""
You can’t perform that action at this time.
0 commit comments