Add typing on components layer

Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
This commit is contained in:
RcleydsonR
2023-01-18 23:35:08 -03:00
parent 846fa82f04
commit 4999f3d145
13 changed files with 76 additions and 73 deletions

View File

@@ -1,8 +1,10 @@
import type { ValidDeposit } from "@/model/ValidDeposit";
const verifyNetworkLiquidity = (
tokenValue: number,
walletAddress: string,
validDepositList: any[]
) => {
validDepositList: ValidDeposit[]
): ValidDeposit | undefined => {
const element = validDepositList.find((element) => {
const remaining = element.remaining;
if (