diff --git a/src/components/InfinateCanvas.tsx b/src/components/InfinateCanvas.tsx index 0b8914f..5133c53 100644 --- a/src/components/InfinateCanvas.tsx +++ b/src/components/InfinateCanvas.tsx @@ -10,7 +10,6 @@ import images from "../signals/images" export default function InfiniteCanvas() { const containerRef = useRef(null) - useEffect(() => { window.scrollTo({ left: (canvasDimentsion.value.width / 2) - (window.innerWidth / 2), @@ -36,40 +35,36 @@ export default function InfiniteCanvas() { return ( <> - <> - <> - - + + -
-
- {Object.keys(NotesSigal.default.notes.value).map((itemKey: string) => { - const item = NotesSigal.default.notes.value[itemKey] - return ( - - ) - })} +
+
+ {Object.keys(NotesSigal.default.notes.value).map((itemKey: string) => { + const item = NotesSigal.default.notes.value[itemKey] + return ( + + ) + })} - {Object.keys(ImagesSignal.default.images.value).map((itemKey: string) => { - const item = ImagesSignal.default.images.value[itemKey] - return ( - - ) - })} -
-
- - + {Object.keys(ImagesSignal.default.images.value).map((itemKey: string) => { + const item = ImagesSignal.default.images.value[itemKey] + return ( + + ) + })} +
+
) }