From 1da9eab30c35036b975c0caa8b35994c9ae39aa4 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Fri, 15 Mar 2024 01:31:21 +0800 Subject: [PATCH] fix lint --- src/components/AddPlaidBankAccount.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/AddPlaidBankAccount.tsx b/src/components/AddPlaidBankAccount.tsx index 3c966ae464fd..89e92613f116 100644 --- a/src/components/AddPlaidBankAccount.tsx +++ b/src/components/AddPlaidBankAccount.tsx @@ -187,6 +187,10 @@ function AddPlaidBankAccount({ onInputChange(plaidAccountID); }; + const onError = useCallback((error: ErrorEvent | null) => { + Log.hmmm('[PlaidLink] Error: ', error?.message); + }, []); + if (isPlaidDisabled) { return ( @@ -195,10 +199,6 @@ function AddPlaidBankAccount({ ); } - const onError = useCallback((error: ErrorEvent | null) => { - Log.hmmm('[PlaidLink] Error: ', error?.message); - }, []); - const renderPlaidLink = () => { if (!!token && !bankName) { return (