Merge branch 'fix/balance-table-sort' of github.com:gnosis/safe-react into fix/balance-table-sort
This commit is contained in:
commit
6369d872f8
|
@ -26,7 +26,6 @@ const TransferDescription = ({
|
|||
}: TransferDescriptionProps): ReactElement | null => {
|
||||
const recipientName = useSelector((state) => getNameFromAddressBookSelector(state, recipient))
|
||||
const [sendModalOpen, setSendModalOpen] = React.useState(false)
|
||||
|
||||
const sendModalOpenHandler = () => {
|
||||
setSendModalOpen(true)
|
||||
}
|
||||
|
|
|
@ -73,13 +73,11 @@ const ExpandedModuleTx = ({ tx }: { tx: SafeModuleTransaction }): ReactElement =
|
|||
</Block>
|
||||
<Hairline />
|
||||
<Block className={cn(classes.txDataContainer, classes.incomingTxBlock)}>
|
||||
{recipient && (
|
||||
<TransferDescription
|
||||
amountWithSymbol={amountWithSymbol}
|
||||
isTokenTransfer={!sameAddress(amountWithSymbol, NOT_AVAILABLE)}
|
||||
recipient={recipient}
|
||||
/>
|
||||
)}
|
||||
</Block>
|
||||
</Col>
|
||||
</Row>
|
||||
|
|
|
@ -121,12 +121,9 @@ const TxsTable = (): React.ReactElement => {
|
|||
colSpan={6}
|
||||
style={{ paddingBottom: 0, paddingTop: 0 }}
|
||||
>
|
||||
<Collapse
|
||||
component={() => <ExpandedTx row={row} />}
|
||||
in={expandedTx === rowId}
|
||||
timeout="auto"
|
||||
unmountOnExit
|
||||
/>
|
||||
<Collapse in={expandedTx === rowId} unmountOnExit>
|
||||
<ExpandedTx row={row} />
|
||||
</Collapse>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
</React.Fragment>
|
||||
|
|
Loading…
Reference in New Issue