瀏覽代碼

fix arrow direction

AykutSarac 3 年之前
父節點
當前提交
809133bb11
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 />;
 }