Skip to content

Commit

Permalink
fix: Batch icon in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan committed Nov 11, 2024
1 parent 3e2e66a commit 43db540
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/useTransactionType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
import SwapIcon from '@/public/images/common/swap.svg'
import StakeIcon from '@/public/images/common/stake.svg'
import NestedSafeIcon from '@/public/images/transactions/nestedTx.svg'
import BatchIcon from '@/public/images/common/multisend.svg'

import {
isCancellationTxInfo,
Expand Down Expand Up @@ -113,7 +114,7 @@ export const getTransactionType = (tx: TransactionSummary, addressBook: AddressB
case TransactionInfoType.CUSTOM: {
if (isMultiSendTxInfo(tx.txInfo) && !tx.safeAppInfo) {
return {
icon: '/images/common/multisend.svg',
icon: <SvgIcon component={BatchIcon} inheritViewBox fontSize="small" alt="Batch" />,
text: 'Batch',
}
}
Expand Down

0 comments on commit 43db540

Please sign in to comment.