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 !hideQuickBet
return ( return (
<div> <Row
<Col
className={clsx( 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 className
)} )}
> >
<Row> <Col className="relative flex-1 gap-3">
<Col className="relative flex-1 gap-3 pr-1">
<div <div
className={clsx( className={clsx(
'peer absolute -left-6 -top-4 -bottom-4 z-10', 'peer absolute -left-6 -top-4 -bottom-4 z-10',
@ -173,8 +171,6 @@ export function ContractCard(props: {
</Col> </Col>
)} )}
</Row> </Row>
</Col>
</div>
) )
} }