Add typing on views layer

Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
This commit is contained in:
RcleydsonR
2023-01-18 23:12:40 -03:00
parent f87434debe
commit 846fa82f04
9 changed files with 47 additions and 38 deletions

View File

@@ -11,10 +11,7 @@ import { formatEther, parseEther } from "ethers/lib/utils";
// Buyer Flow methods //
// Make lock
const addLock = async (
depositId: BigNumber,
amount: number
): Promise<any> => {
const addLock = async (depositId: BigNumber, amount: number): Promise<any> => {
const etherStore = useEtherStore();
const provider = getProvider();