Commit 93888428 authored by isstuev's avatar isstuev

fixes3

parent 61e0da60
......@@ -37,6 +37,7 @@ const Home = () => {
alignItems="center"
display={{ base: 'none', lg: 'flex' }}
columnGap={ 12 }
pl={ 4 }
>
<ColorModeToggler trackBg="whiteAlpha.500"/>
<ProfileMenuDesktop/>
......
......@@ -37,8 +37,9 @@ type Props = {
}
const TxsTableItem = ({ tx, showBlockInfo, currentAddress, enableTimeIncrement }: Props) => {
const dataTo = tx.to ? tx.to : tx.created_contract;
const isOut = Boolean(currentAddress && currentAddress === tx.from.hash);
const isIn = Boolean(currentAddress && currentAddress === tx.to?.hash);
const isIn = Boolean(currentAddress && currentAddress === dataTo.hash);
const timeAgo = useTimeAgoIncrement(tx.timestamp, enableTimeIncrement);
......@@ -49,8 +50,6 @@ const TxsTableItem = ({ tx, showBlockInfo, currentAddress, enableTimeIncrement }
</Address>
);
const dataTo = tx.to ? tx.to : tx.created_contract;
const addressTo = (
<Address>
<AddressIcon address={ dataTo }/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment