fix: wrap return in fragment for UnitRevealOverlay
This commit is contained in:
@@ -154,6 +154,7 @@ export default function CloudRevealSection() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
<div ref={sectionRef} style={{ height: '500vh' }}>
|
<div ref={sectionRef} style={{ height: '500vh' }}>
|
||||||
<div className="sticky top-0 min-h-[100dvh] w-full overflow-hidden bg-black">
|
<div className="sticky top-0 min-h-[100dvh] w-full overflow-hidden bg-black">
|
||||||
|
|
||||||
@@ -250,6 +251,7 @@ export default function CloudRevealSection() {
|
|||||||
unitSub={activeUnit?.sub ?? ''}
|
unitSub={activeUnit?.sub ?? ''}
|
||||||
onClose={() => setActiveUnit(null)}
|
onClose={() => setActiveUnit(null)}
|
||||||
/>
|
/>
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user