Skip to content

Commit e3d0e19

Browse files
authored
Merge pull request #28 from mars-protocol/v1.4.6
v1.4.6
2 parents 0d20cee + 2b6c510 commit e3d0e19

File tree

18 files changed

+503
-400
lines changed

18 files changed

+503
-400
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mars",
33
"homepage": "./",
4-
"version": "1.4.5",
4+
"version": "1.4.6",
55
"license": "SEE LICENSE IN LICENSE FILE",
66
"private": false,
77
"scripts": {
@@ -22,7 +22,7 @@
2222
"@cosmjs/launchpad": "^0.27.1",
2323
"@cosmjs/proto-signing": "^0.30.1",
2424
"@cosmjs/stargate": "^0.30.1",
25-
"@marsprotocol/wallet-connector": "^1.5.3",
25+
"@marsprotocol/wallet-connector": "^1.5.8",
2626
"@material-ui/core": "^4.12.4",
2727
"@material-ui/icons": "^4.11.3",
2828
"@ramonak/react-progress-bar": "^5.0.3",

src/components/common/CosmosWalletConnectProvider/CosmosWalletConnectProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const CosmosWalletConnectProvider = ({ children }: Props) => {
2222

2323
const fetchConfig = async () => {
2424
const file = await import(
25-
`../../../configs/${NETWORK !== 'mainnet' ? 'osmo-test-4' : 'osmosis-1'}.ts`
25+
`../../../configs/${NETWORK !== 'mainnet' ? 'osmo-test-5' : 'osmosis-1'}.ts`
2626
)
2727

2828
const networkConfig: NetworkConfig = file.NETWORK_CONFIG

src/components/common/Tooltip/Apr.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const Apr = ({ data }: Props) => {
2323
const items: HoverItem[] = []
2424

2525
data.forEach((asset: IncentiveInfo, key: number) => {
26+
if (key !== 0 && !asset.apy) return
2627
items.push({
2728
color: asset.color,
2829
symbol: asset.symbol,

src/components/fields/LiquidationNotification/LiquidationNotification.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const LiquidationNotification = () => {
2020

2121
if (!elligiblePositions.length) return null
2222

23-
if (elligiblePositions.length === 1) {
23+
if (elligiblePositions.length >= 1) {
2424
return (
2525
<Notification
2626
type={NotificationType.Warning}
@@ -29,7 +29,7 @@ export const LiquidationNotification = () => {
2929
<div className={styles.container}>
3030
<span>
3131
{t('fields.notifications.liquidation.single.text', {
32-
lp: elligiblePositions[0].name,
32+
lp: elligiblePositions[0].name.name,
3333
})}
3434
</span>
3535
<Button

src/components/redbank/BorrowColumns/useBorrowColumns.module.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,16 @@
1515
background-image: $colorGradientATOM;
1616
}
1717

18+
&.AXL {
19+
background-image: $colorGradientAXL;
20+
}
21+
1822
&.JUNO {
1923
background-image: $colorGradientJUNO;
2024
}
2125

22-
&.axlUSDC {
26+
&.axlUSDC,
27+
&.nUSDC {
2328
background-image: $colorGradientAxlUSDC;
2429
}
2530

src/components/redbank/DepositColumns/useDepositColumns.module.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,16 @@
1515
background-image: $colorGradientATOM;
1616
}
1717

18+
&.AXL {
19+
background-image: $colorGradientAXL;
20+
}
21+
1822
&.JUNO {
1923
background-image: $colorGradientJUNO;
2024
}
2125

22-
&.axlUSDC {
26+
&.axlUSDC,
27+
&.nUSDC {
2328
background-image: $colorGradientAxlUSDC;
2429
}
2530

src/configs/osmo-test-4.ts

Lines changed: 0 additions & 189 deletions
This file was deleted.

0 commit comments

Comments
 (0)