From d3538d2d83dc991732a710875fb957483f70f3e2 Mon Sep 17 00:00:00 2001 From: Fernando Date: Thu, 11 Feb 2021 05:31:08 -0300 Subject: [PATCH] Remove curried function from within `useCallback` hook (#1882) --- .../GatewayTransactions/hooks/useActionButtonsHandlers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/safe/components/Transactions/GatewayTransactions/hooks/useActionButtonsHandlers.ts b/src/routes/safe/components/Transactions/GatewayTransactions/hooks/useActionButtonsHandlers.ts index db5399cf..3921d215 100644 --- a/src/routes/safe/components/Transactions/GatewayTransactions/hooks/useActionButtonsHandlers.ts +++ b/src/routes/safe/components/Transactions/GatewayTransactions/hooks/useActionButtonsHandlers.ts @@ -62,7 +62,7 @@ export const useActionButtonsHandlers = (transaction: Transaction): ActionButton const isPending = useMemo(() => !!transaction.txStatus.match(/^PENDING.*/), [transaction.txStatus]) - const signaturePending = useCallback(addressInList(transaction.executionInfo?.missingSigners), []) + const signaturePending = addressInList(transaction.executionInfo?.missingSigners) const disabledActions = useMemo( () =>