Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Mar 14, 2024
1 parent 3a4df46 commit 1da9eab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/AddPlaidBankAccount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ function AddPlaidBankAccount({
onInputChange(plaidAccountID);
};

const onError = useCallback((error: ErrorEvent | null) => {
Log.hmmm('[PlaidLink] Error: ', error?.message);
}, []);

if (isPlaidDisabled) {
return (
<View>
Expand All @@ -195,10 +199,6 @@ function AddPlaidBankAccount({
);
}

const onError = useCallback((error: ErrorEvent | null) => {
Log.hmmm('[PlaidLink] Error: ', error?.message);
}, []);

const renderPlaidLink = () => {
if (!!token && !bankName) {
return (
Expand Down

0 comments on commit 1da9eab

Please sign in to comment.