Explorar el Código

fix arrow direction

AykutSarac hace 3 años
padre
commit
809133bb11
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 />;
 }