Remove curried function from within `useCallback` hook (#1882)
This commit is contained in:
parent
1994f62827
commit
d3538d2d83
|
@ -62,7 +62,7 @@ export const useActionButtonsHandlers = (transaction: Transaction): ActionButton
|
||||||
|
|
||||||
const isPending = useMemo(() => !!transaction.txStatus.match(/^PENDING.*/), [transaction.txStatus])
|
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(
|
const disabledActions = useMemo(
|
||||||
() =>
|
() =>
|
||||||
|
|
Loading…
Reference in New Issue