Skip to content

Commit

Permalink
Tom/hotfix/use correct xcm names (#1119)
Browse files Browse the repository at this point in the history
* refactor: use display value for chain names

* refactor: use correct display value for XCM channels
  • Loading branch information
tomjeatt authored Apr 11, 2023
1 parent 2caf2b4 commit fa8842b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Transfer/CrossChainTransferForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const CrossChainTransferForm = (): JSX.Element => {
const availableFromChains: Array<ChainOption> = XCMBridge.adapters.map((adapter: any) => {
return {
type: adapter.chain.id,
name: adapter.chain.id,
name: adapter.chain.display,
icon: <ChainIcon id={adapter.chain.id} size='xl' />
};
});
Expand All @@ -149,7 +149,7 @@ const CrossChainTransferForm = (): JSX.Element => {
const availableToChains = destinationChains.map((chain: any) => {
return {
type: chain.id,
name: chain.id,
name: chain.display,
icon: <ChainIcon id={chain.id} size='xl' />
};
});
Expand Down

0 comments on commit fa8842b

Please sign in to comment.