From 3a4df46618389bb6220641a5a1f73c3ff52e016e Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Fri, 15 Mar 2024 01:23:55 +0800 Subject: [PATCH] add type --- src/components/AddPlaidBankAccount.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AddPlaidBankAccount.tsx b/src/components/AddPlaidBankAccount.tsx index e1f686cea6a7..3c966ae464fd 100644 --- a/src/components/AddPlaidBankAccount.tsx +++ b/src/components/AddPlaidBankAccount.tsx @@ -195,7 +195,7 @@ function AddPlaidBankAccount({ ); } - const onError = useCallback((error) => { + const onError = useCallback((error: ErrorEvent | null) => { Log.hmmm('[PlaidLink] Error: ', error?.message); }, []);