Skip to content

Commit

Permalink
fix: display the swapper's title instead of the swapper's group as th…
Browse files Browse the repository at this point in the history
…eir displayed name
  • Loading branch information
Ikari-Shinji-re authored and RanGojo committed May 11, 2024
1 parent 1907ad2 commit 1142d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/embedded/src/utils/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function getSwapperDisplayName(
swapperId: string,
swappers: SwapperMeta[]
) {
return swappers.find((swapper) => swapper.id === swapperId)?.swapperGroup;
return swappers.find((swapper) => swapper.id === swapperId)?.title;
}

export function findToken(t: Asset, tokens: Token[]) {
Expand Down

0 comments on commit 1142d94

Please sign in to comment.