Commit 392870f6 authored by tom's avatar tom

change border radius prop

parent 04005d6d
......@@ -101,7 +101,7 @@ const TxsNewItemNotice = ({ children, className }: Props) => {
}
return (
<Alert className={ className } status="warning" p={ 4 } borderRadius={ 0 } fontWeight={ 400 }>
<Alert className={ className } status="warning" p={ 4 } fontWeight={ 400 }>
<Spinner size="sm" mr={ 3 }/>
<Text as="span" whiteSpace="pre">+ { num } new transaction{ num > 1 ? 's' : '' }. </Text>
<Link onClick={ handleClick }>Show in list</Link>
......
......@@ -47,7 +47,7 @@ const TxsTable = ({ txs, sort, sorting }: Props) => {
</Tr>
</TheadSticky>
<Tbody>
<TxsNewItemNotice>
<TxsNewItemNotice borderRadius={ 0 }>
{ ({ content }) => <Tr><Td colSpan={ 10 } p={ 0 }>{ content }</Td></Tr> }
</TxsNewItemNotice>
{ txs.map((item) => (
......
......@@ -31,7 +31,7 @@ const TxsWithSort = ({
<>
<Show below="lg" ssr={ false }>
<Box>
<TxsNewItemNotice borderRadius="md">
<TxsNewItemNotice>
{ ({ content }) => <Box>{ content }</Box> }
</TxsNewItemNotice>
{ sortedTxs.map(tx => <TxsListItem tx={ tx } key={ tx.hash }/>) }
......
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