From 7e0c787245d355e72d886561ac7b5dc2e5fd22f5 Mon Sep 17 00:00:00 2001 From: Karolina Kosiorowska Date: Wed, 10 Apr 2024 12:37:29 +0200 Subject: [PATCH] Fix issues after merge --- .../ActiveUnstakingStep/UnstakeFormModal/index.tsx | 2 +- dapp/src/hooks/useCurrencyConversion.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dapp/src/components/TransactionModal/ActiveUnstakingStep/UnstakeFormModal/index.tsx b/dapp/src/components/TransactionModal/ActiveUnstakingStep/UnstakeFormModal/index.tsx index 19b3cc115..0013e073c 100644 --- a/dapp/src/components/TransactionModal/ActiveUnstakingStep/UnstakeFormModal/index.tsx +++ b/dapp/src/components/TransactionModal/ActiveUnstakingStep/UnstakeFormModal/index.tsx @@ -10,7 +10,7 @@ import { selectMinStakeAmount } from "#/store/btc" import UnstakeDetails from "./UnstakeDetails" // TODO: Use a position amount -const MOCK_POSITION_AMOUNT = "2398567898" +const MOCK_POSITION_AMOUNT = BigInt("2398567898") function UnstakeFormModal({ onSubmitForm, diff --git a/dapp/src/hooks/useCurrencyConversion.ts b/dapp/src/hooks/useCurrencyConversion.ts index f3279c86e..d16925b2e 100644 --- a/dapp/src/hooks/useCurrencyConversion.ts +++ b/dapp/src/hooks/useCurrencyConversion.ts @@ -7,7 +7,7 @@ import { useAppSelector } from "./store" type CurrencyConversionType = { currency: CurrencyType - amount?: number | string + amount?: number | string | bigint } // TODO: should be updated to handle another currencies