Skip to content

Commit

Permalink
Update hook
Browse files Browse the repository at this point in the history
We renamed the method `minDepositAmount` to `minimumDepositAmount` and
here we update the dapp part.
  • Loading branch information
r-czajkowski committed Jun 6, 2024
1 parent 2414198 commit b916ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dapp/src/hooks/sdk/useFetchMinDepositAmount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit b916ba9

Please sign in to comment.