fix: add timezone to specific tx logs

feat: pass timezone to details row
This commit is contained in:
Sérgio Salgado 2021-06-27 16:56:03 +01:00 committed by Josh Harvey
parent b5e35b82c2
commit 4e88c995d3
6 changed files with 34 additions and 18 deletions

View file

@ -37,7 +37,8 @@ const Row = ({
expWidth,
expandable,
onClick,
size
size,
...props
}) => {
const classes = useStyles()
@ -80,7 +81,7 @@ const Row = ({
<div className={classes.after}>
<Tr className={classnames({ [classes.expanded]: expanded })}>
<Td width={width}>
<Details it={data} />
<Details it={data} timezone={props.timezone} />
</Td>
</Tr>
</div>
@ -153,6 +154,7 @@ const DataTable = ({
expandRow={expandRow}
expandable={expandable}
onClick={onClick}
timezone={props.timezone}
/>
</div>
)}