Take out <ul> from Feed
This commit is contained in:
parent
9b98c6f300
commit
7dcae2a141
|
@ -682,9 +682,8 @@ export function ContractFeed(props: {
|
|||
|
||||
return (
|
||||
<div className="flow-root pr-2 md:pr-0">
|
||||
<ul role="list" className={clsx(tradingAllowed(contract) ? '' : '-mb-8')}>
|
||||
<div className={clsx(tradingAllowed(contract) ? '' : '-mb-8')}>
|
||||
{items.map((activityItem, activityItemIdx) => (
|
||||
<li key={activityItem.id}>
|
||||
<div className="relative pb-8">
|
||||
{activityItemIdx !== items.length - 1 ? (
|
||||
<span
|
||||
|
@ -718,9 +717,8 @@ export function ContractFeed(props: {
|
|||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
{isBinary && tradingAllowed(contract) && (
|
||||
<BetRow contract={contract} className={clsx('mb-2', betRowClassName)} />
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue
Block a user