mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-12 19:14:08 +00:00
Tx list v2 - design/wording follow ups (#1969)
* Rename custom transaction to custom interaction * fix no transaction img size
This commit is contained in:
parent
5ded9ee9e7
commit
4ee5fe57b2
@ -15,7 +15,7 @@ export type TxTypeProps = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const useTransactionType = (tx: Transaction): TxTypeProps => {
|
export const useTransactionType = (tx: Transaction): TxTypeProps => {
|
||||||
const [type, setType] = useState<TxTypeProps>({ icon: CustomTxIcon, text: 'Custom transaction' })
|
const [type, setType] = useState<TxTypeProps>({ icon: CustomTxIcon, text: 'Contract interaction' })
|
||||||
const safeAddress = useSelector(safeParamAddressFromStateSelector)
|
const safeAddress = useSelector(safeParamAddressFromStateSelector)
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -62,7 +62,7 @@ export const useTransactionType = (tx: Transaction): TxTypeProps => {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
setType({ icon: CustomTxIcon, text: 'Custom transaction' })
|
setType({ icon: CustomTxIcon, text: 'Contract interaction' })
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user