remove fragments

This commit is contained in:
Triston Armstrong 2024-10-05 12:53:12 -04:00
parent 87d153c563
commit 25b4190466

View File

@ -10,7 +10,6 @@ import images from "../signals/images"
export default function InfiniteCanvas() { export default function InfiniteCanvas() {
const containerRef = useRef<HTMLDivElement>(null) const containerRef = useRef<HTMLDivElement>(null)
useEffect(() => { useEffect(() => {
window.scrollTo({ window.scrollTo({
left: (canvasDimentsion.value.width / 2) - (window.innerWidth / 2), left: (canvasDimentsion.value.width / 2) - (window.innerWidth / 2),
@ -35,8 +34,6 @@ export default function InfiniteCanvas() {
}, []) }, [])
return ( return (
<>
<>
<> <>
<CardSelector /> <CardSelector />
<MiniMap /> <MiniMap />
@ -69,7 +66,5 @@ export default function InfiniteCanvas() {
</div> </div>
</div> </div>
</> </>
</>
</>
) )
} }