Skip to content

Commit

Permalink
fix: Selected token in add liquidity form (#3799)
Browse files Browse the repository at this point in the history
  • Loading branch information
garethfuller authored Jul 25, 2023
1 parent 5176c7b commit 044b6c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ function getTokenInputLabel(address: string): string | undefined {
* the native asset instead.
*/
function tokenOptions(address: string): string[] {
if (isSingleAssetJoin.value) return [];
return includesAddress(
[wrappedNativeAsset.value.address, nativeAsset.address],
address
Expand Down
1 change: 0 additions & 1 deletion src/components/inputs/TokenInput/TokenInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const props = withDefaults(defineProps<Props>(), {
balanceLabel: '',
hint: '',
excludedTokens: () => [],
subsetTokens: () => [],
placeholder: '',
tokenSelectProps: () => ({}),
slider: false,
Expand Down

1 comment on commit 044b6c5

@vercel
Copy link

@vercel vercel bot commented on 044b6c5 Jul 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.