Skip to content

Commit

Permalink
chore: resolve build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Jan 14, 2025
1 parent 519ea73 commit 75477bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import {
useApr,
useBalance,
useMarketConfiguration,
useSupplyRate,
useUserRole,
useUserSupplyBorrow,
} from '@/hooks';
Expand All @@ -47,12 +46,7 @@ import {
selectChangeTokenAmount,
useMarketStore,
} from '@/stores';
import {
SYMBOL_TO_ICON,
formatUnits,
getFormattedNumber,
getSupplyApr,
} from '@/utils';
import { SYMBOL_TO_ICON, formatUnits, getFormattedNumber } from '@/utils';
import { useAccount } from '@fuels/react';
import * as VisuallyHidden from '@radix-ui/react-visually-hidden';
import BigNumber from 'bignumber.js';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/DashboardView/Stats/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { Skeleton } from '@/components/ui/skeleton';
import { appConfig } from '@/configs';
import { MARKET_MODE, selectMarketMode, useMarketStore } from '@/stores';
import { formatUnits, getFormattedNumber, getFormattedPrice } from '@/utils';
import { formatUnits, getFormattedPrice } from '@/utils';
import { useIsConnected } from '@fuels/react';
import BigNumber from 'bignumber.js';
import { Repeat } from 'lucide-react';
Expand Down
4 changes: 4 additions & 0 deletions apps/frontend/src/components/InputDialog/PositionSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export const PositionSummary = () => {
priceData?.prices[marketConfiguration?.baseToken.bits ?? ''] ?? 1
)
),
4,
true
)} USDC`,
changeValue: possibleBorrowCapacity
Expand All @@ -144,6 +145,7 @@ export const PositionSummary = () => {
] ?? 1
)
),
4,
true
)} USDC`
: null,
Expand All @@ -161,6 +163,7 @@ export const PositionSummary = () => {
tooltip: 'The amount of base asset you can borrow',
value: `${getFormattedNumber(
updatedBorrowCapacity ?? BigNumber(0),
4,
true
)} USDC`,
changeValue: possibleAvailableToBorrow
Expand All @@ -172,6 +175,7 @@ export const PositionSummary = () => {
] ?? 1
)
),
4,
true
)} USDC`
: null,
Expand Down

0 comments on commit 75477bf

Please sign in to comment.