Browse Source

fix arrow direction

AykutSarac 3 years ago
parent
commit
809133bb11
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/Sidebar/index.tsx

+ 2 - 2
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 />;
 }