Skip to content

Commit 697eaf7

Browse files
committed
fix: lint, public rpc
1 parent 83a83c4 commit 697eaf7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/modules/umbrella/UnstakeModalContent.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { ChainId } from '@aave/contract-helpers';
2+
import { normalizeBN } from '@aave/math-utils';
23
import { Trans } from '@lingui/macro';
34
import { Skeleton, Stack, Typography } from '@mui/material';
45
import { BigNumber } from 'bignumber.js';
@@ -28,7 +29,6 @@ import { useShallow } from 'zustand/shallow';
2829

2930
import { usePreviewRedeem } from './hooks/usePreviewRedeem';
3031
import { UnStakeActions } from './UnstakeModalActions';
31-
import { normalizeBN } from '@aave/math-utils';
3232

3333
export enum RedeemType {
3434
NORMAL,
@@ -67,7 +67,10 @@ export const UnStakeModalContent = ({
6767
stakeData?.cooldownData.cooldownAmount || '0'
6868
);
6969

70-
const redeemableAmount = normalizeBN(redeemableAmountBN.toString(), stakeData.decimals).toString();
70+
const redeemableAmount = normalizeBN(
71+
redeemableAmountBN.toString(),
72+
stakeData.decimals
73+
).toString();
7174

7275
const isMaxSelected = amount === '-1';
7376
const amountToRedeem = isMaxSelected ? redeemableAmount : amount;

src/ui-config/networksConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export const prodNetworkConfig: Record<string, BaseNetworkConfig> = {
260260
[ChainId.base]: {
261261
name: 'Base',
262262
publicJsonRPCUrl: [
263-
'https://mainnet.base.org',
263+
'https://base.llamarpc.com',
264264
'https://1rpc.io/base',
265265
'https://base.publicnode.com',
266266
'https://base-mainnet.public.blastapi.io',

0 commit comments

Comments
 (0)