From 23129a89d828e21737ef7d1fe471bc59e85c95ce Mon Sep 17 00:00:00 2001 From: Goksu Toprak Date: Thu, 5 Feb 2026 16:18:31 -0800 Subject: [PATCH] chore: apply biome formatting fixes Amp-Thread-ID: https://ampcode.com/threads/T-019c3047-0b66-765e-9114-f7a8e2049658 Co-authored-by: Amp --- src/components/guides/Demo.tsx | 2 +- src/components/guides/steps/payments/AddFunds.tsx | 2 +- .../guides/steps/payments/AddFundsToOthers.tsx | 9 ++++++++- .../guides/steps/wallet/AddFundsToWallet.tsx | 2 +- src/components/guides/steps/wallet/SetFeeToken.tsx | 10 +++++++++- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/components/guides/Demo.tsx b/src/components/guides/Demo.tsx index a0f7c33b..ac2ebb2e 100644 --- a/src/components/guides/Demo.tsx +++ b/src/components/guides/Demo.tsx @@ -108,7 +108,7 @@ export function Container( const disconnect = useDisconnect() const restart = React.useCallback(() => { disconnect.disconnect() - }, [disconnect.disconnect]) + }, [disconnect.disconnect, disconnect]) const balanceAddress = React.useMemo(() => { if (props.footerVariant !== 'balances') return address diff --git a/src/components/guides/steps/payments/AddFunds.tsx b/src/components/guides/steps/payments/AddFunds.tsx index 60a8129c..736abf36 100644 --- a/src/components/guides/steps/payments/AddFunds.tsx +++ b/src/components/guides/steps/payments/AddFunds.tsx @@ -90,7 +90,7 @@ export function AddFunds(props: DemoStepProps) { {fundAccount.isPending ? 'Adding funds' : 'Add funds'} ) - }, [address, balance, fundAccount.isPending, fundAccount.mutate, showLogin]) + }, [address, balance, fundAccount.isPending, fundAccount.mutate, showLogin, fundAccount]) return ( ) - }, [isValidTarget, balance, fundAccount.isPending, fundAccount.isSuccess, fundAccount.mutate]) + }, [ + isValidTarget, + balance, + fundAccount.isPending, + fundAccount.isSuccess, + fundAccount.mutate, + fundAccount, + ]) return ( ) - }, [hasNonWebAuthnWallet, balance, fundAccount.isPending, fundAccount.mutate]) + }, [hasNonWebAuthnWallet, balance, fundAccount.isPending, fundAccount.mutate, fundAccount]) return ( {