From b916ba9b5bf573802fea316f199c061b39a49892 Mon Sep 17 00:00:00 2001 From: Rafal Czajkowski Date: Thu, 6 Jun 2024 16:08:02 +0200 Subject: [PATCH] Update hook We renamed the method `minDepositAmount` to `minimumDepositAmount` and here we update the dapp part. --- dapp/src/hooks/sdk/useFetchMinDepositAmount.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dapp/src/hooks/sdk/useFetchMinDepositAmount.ts b/dapp/src/hooks/sdk/useFetchMinDepositAmount.ts index 050878657..825e3c6a7 100644 --- a/dapp/src/hooks/sdk/useFetchMinDepositAmount.ts +++ b/dapp/src/hooks/sdk/useFetchMinDepositAmount.ts @@ -12,7 +12,7 @@ export function useFetchMinDepositAmount() { if (!isInitialized || !acre) return const fetchMinDepositAmount = async () => { - const minDepositAmount = await acre.protocol.minDepositAmount() + const minDepositAmount = await acre.protocol.minimumDepositAmount() dispatch(setMinDepositAmount(minDepositAmount)) }