Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix arrow direction

AykutSarac809133bb11c3
diff --git a/src/components/Sidebar/index.tsx b/src/components/Sidebar/index.tsx
index 832cd501..15cfc399 100644
--- a/src/components/Sidebar/index.tsx
+++ b/src/components/Sidebar/index.tsx
@@ -102,9 +102,9 @@ const StyledImportFile = styled.label`
`;
function getLayoutIcon(layout: CanvasDirection) {
- if (layout === "LEFT") return <CgArrowLongRightE />;
+ if (layout === "LEFT") return <CgArrowLongLeftE />;
if (layout === "UP") return <CgArrowLongDownE />;
- if (layout === "RIGHT") return <CgArrowLongLeftE />;
+ if (layout === "RIGHT") return <CgArrowLongRightE />;
return <CgArrowLongUpE />;
}