@ape.swap/bonds-sdk 4.5.0-test.6 → 4.5.0-test.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +6 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -78714,8 +78714,12 @@ const BondModalMinTierHeader = ({ minTier }) => {
|
|
|
78714
78714
|
alignItems: 'center',
|
|
78715
78715
|
flexDirection: 'row-reverse',
|
|
78716
78716
|
width: ['100%', '100%', '100%', 'auto', 'auto'],
|
|
78717
|
-
}, children: Object.values(TIERS_NAMES)
|
|
78718
|
-
|
|
78717
|
+
}, children: Object.values(TIERS_NAMES)
|
|
78718
|
+
.filter((tier) => tier !== 'No Tier')
|
|
78719
|
+
.map((tier, index) => {
|
|
78720
|
+
if (index + 1 >= minTier) {
|
|
78721
|
+
console.log(index);
|
|
78722
|
+
console.log(tier);
|
|
78719
78723
|
return (jsx$2(TooltipBubble, { className: "tooltip-bubble", body: jsx$2(Flex, { sx: { justifyContent: 'center' }, children: tier }), width: "100px", placement: "bottomLeft", transformTip: "translate(1%, -5%)", children: jsx$2("img", { src: `https://ape.bond/images/launch/${tier.toLowerCase()}.png`, alt: "minTier", style: { width: '25px', height: '25px', marginLeft: '3px', zIndex: 1 } }, `tier-logo-${index}`) }, tier));
|
|
78720
78724
|
}
|
|
78721
78725
|
}) })) }));
|