Skip to content

Commit

Permalink
Txs -> transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Sep 20, 2023
1 parent bf9ff13 commit 7494190
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/dashboard/PendingTxs/PendingTxsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ const PendingTxsList = (): ReactElement | null => {
const wallet = useWallet()
const queuedTxns = useMemo(() => getLatestTransactions(page?.results), [page?.results])

const actionable = useMemo(() => {
const actionableTxs = useMemo(() => {
return wallet
? queuedTxns.filter(
(tx) => isSignableBy(tx.transaction, wallet.address) || isExecutable(tx.transaction, wallet.address, safe),
)
: queuedTxns
}, [wallet, queuedTxns, safe])

const txs = actionable.length ? actionable : queuedTxns
const txs = actionableTxs.length ? actionableTxs : queuedTxns
const txsToDisplay = txs.slice(0, MAX_TXS)

const queueUrl = useMemo(
Expand Down
2 changes: 1 addition & 1 deletion src/components/transactions/BatchExecuteButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const BatchExecuteButton = () => {
disabled={isDisabled}
onClick={handleOpenModal}
>
Bulk execute{isBatchable && ` ${batchableTransactions.length} txs`}
Bulk execute{isBatchable && ` ${batchableTransactions.length} transactions`}
</Button>
</span>
</Tooltip>
Expand Down

0 comments on commit 7494190

Please sign in to comment.