temp listing fix (#333)

* temp listing fix

* fix

* yarn dedupe
This commit is contained in:
Adrian Brzeziński 2023-11-27 22:14:35 +01:00 committed by GitHub
parent b4e802a1b1
commit 71c875c0dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 9 deletions

View File

@ -321,9 +321,7 @@ const ListToken = ({ goBack }: { goBack: () => void }) => {
(x) => x?.priceImpactPct && x?.priceImpactPct * 100 < 1,
)
const tier =
indexForTierFromSwaps > -1
? TIERS[indexForTierFromSwaps]
: 'UNTRUSTED'
indexForTierFromSwaps > -1 ? TIERS[indexForTierFromSwaps] : 'SHIT'
setLiqudityTier(tier)
setPriceImpact(midTierCheck ? midTierCheck.priceImpactPct * 100 : 100)
handleGetPoolParams(tier, tokenMint)
@ -334,7 +332,7 @@ const ListToken = ({ goBack }: { goBack: () => void }) => {
description: `${e}`,
type: 'error',
})
return 'UNTRUSTED'
return 'SHIT'
}
},
[t, handleGetRoutesWithFixedArgs],

View File

@ -24,7 +24,7 @@
"@blockworks-foundation/mango-feeds": "0.1.7",
"@blockworks-foundation/mango-mints-redemption": "^0.0.10",
"@blockworks-foundation/mango-v4": "0.20.6",
"@blockworks-foundation/mango-v4-settings": "0.2.18",
"@blockworks-foundation/mango-v4-settings": "0.2.19",
"@blockworks-foundation/mangolana": "0.0.1-beta.15",
"@headlessui/react": "1.6.6",
"@heroicons/react": "2.0.18",

View File

@ -42,10 +42,10 @@
keccak256 "^1.0.6"
merkletreejs "^0.3.11"
"@blockworks-foundation/mango-v4-settings@0.2.18", "@blockworks-foundation/mango-v4-settings@^0.2.16":
version "0.2.18"
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4-settings/-/mango-v4-settings-0.2.18.tgz#d984617fd44d7ba0d56b7f4a751f8b3b4d95cc35"
integrity sha512-hdU75eED5YzUWg4EJcUIJZsEvfeLVwUj3yfEykyj/OMVR/H83cbX5KuTnfh6ri0Iwd+K8cqNNFdParLKigoUxQ==
"@blockworks-foundation/mango-v4-settings@0.2.19", "@blockworks-foundation/mango-v4-settings@^0.2.16":
version "0.2.19"
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4-settings/-/mango-v4-settings-0.2.19.tgz#75b75cc5f98c0492530f6afbe6b177725304c81b"
integrity sha512-MZVbIK2w3ShqRq5WgHF4gU2dYiRQUuV13aBlwF1Ih+R1s2XmUL5/nkMCeWkJfUk6d9QuDwBbKlZEnyhDMYOM9w==
dependencies:
bn.js "^5.2.1"
eslint-config-prettier "^9.0.0"