Remove random unnecessary top-level divs

This commit is contained in:
Marshall Polaris 2022-08-12 15:49:39 -07:00
parent 79be0c555b
commit 5279f468f3

View File

@ -66,15 +66,13 @@ export function ContractCard(props: {
!hideQuickBet
return (
<div>
<Col
<Row
className={clsx(
'relative gap-3 rounded-lg bg-white py-4 pl-6 pr-5 shadow-md hover:cursor-pointer hover:bg-gray-100',
'relative gap-3 self-start rounded-lg bg-white py-4 pl-6 pr-5 shadow-md hover:cursor-pointer hover:bg-gray-100',
className
)}
>
<Row>
<Col className="relative flex-1 gap-3 pr-1">
<Col className="relative flex-1 gap-3">
<div
className={clsx(
'peer absolute -left-6 -top-4 -bottom-4 z-10',
@ -173,8 +171,6 @@ export function ContractCard(props: {
</Col>
)}
</Row>
</Col>
</div>
)
}