generated from Klectr/KTemplate
remove fragments
This commit is contained in:
parent
87d153c563
commit
25b4190466
@ -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>
|
||||||
</>
|
</>
|
||||||
</>
|
|
||||||
</>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user