From 21e7df4e3190418afb39966a8c230cb3a7ae20f0 Mon Sep 17 00:00:00 2001 From: Bartek Date: Wed, 29 Jan 2025 19:31:18 +0100 Subject: [PATCH] fix: update swr key in `useSelectedTokenIsWithdrawOnly` (#2211) --- .../TransferPanel/hooks/useSelectedTokenIsWithdrawOnly.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/arb-token-bridge-ui/src/components/TransferPanel/hooks/useSelectedTokenIsWithdrawOnly.ts b/packages/arb-token-bridge-ui/src/components/TransferPanel/hooks/useSelectedTokenIsWithdrawOnly.ts index df55d80a5f..55af4dae7c 100644 --- a/packages/arb-token-bridge-ui/src/components/TransferPanel/hooks/useSelectedTokenIsWithdrawOnly.ts +++ b/packages/arb-token-bridge-ui/src/components/TransferPanel/hooks/useSelectedTokenIsWithdrawOnly.ts @@ -24,7 +24,8 @@ export function useSelectedTokenIsWithdrawOnly() { return [ selectedToken.address.toLowerCase(), parentChain.id, - childChain.id + childChain.id, + 'useSelectedTokenIsWithdrawOnly' ] as const }, [selectedToken, isDepositMode, parentChain.id, childChain.id])