From 4ee5fe57b254afff6f00865d597504c33fae7363 Mon Sep 17 00:00:00 2001 From: Mati Dastugue Date: Tue, 9 Mar 2021 13:02:26 -0300 Subject: [PATCH] Tx list v2 - design/wording follow ups (#1969) * Rename custom transaction to custom interaction * fix no transaction img size --- .../Transactions/TxList/hooks/useTransactionType.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/safe/components/Transactions/TxList/hooks/useTransactionType.ts b/src/routes/safe/components/Transactions/TxList/hooks/useTransactionType.ts index 7d15b560..ca04efbc 100644 --- a/src/routes/safe/components/Transactions/TxList/hooks/useTransactionType.ts +++ b/src/routes/safe/components/Transactions/TxList/hooks/useTransactionType.ts @@ -15,7 +15,7 @@ export type TxTypeProps = { } export const useTransactionType = (tx: Transaction): TxTypeProps => { - const [type, setType] = useState({ icon: CustomTxIcon, text: 'Custom transaction' }) + const [type, setType] = useState({ icon: CustomTxIcon, text: 'Contract interaction' }) const safeAddress = useSelector(safeParamAddressFromStateSelector) useEffect(() => { @@ -62,7 +62,7 @@ export const useTransactionType = (tx: Transaction): TxTypeProps => { break } - setType({ icon: CustomTxIcon, text: 'Custom transaction' }) + setType({ icon: CustomTxIcon, text: 'Contract interaction' }) break } }