Pārlūkot izejas kodu

move components to folder

AykutSarac 3 gadi atpakaļ
vecāks
revīzija
568aab9957

+ 0 - 0
src/containers/LiveEditor/CustomNode/ObjectNode.tsx → src/components/CustomNode/ObjectNode.tsx


+ 0 - 0
src/containers/LiveEditor/CustomNode/TextNode.tsx → src/components/CustomNode/TextNode.tsx


+ 0 - 0
src/containers/LiveEditor/CustomNode/index.tsx → src/components/CustomNode/index.tsx


+ 0 - 0
src/containers/LiveEditor/CustomNode/styles.tsx → src/components/CustomNode/styles.tsx


+ 0 - 0
src/containers/JsonEditor/ErrorContainer.tsx → src/components/ErrorContainer/ErrorContainer.tsx


+ 1 - 1
src/containers/JsonEditor/index.tsx

@@ -2,7 +2,7 @@ import React from "react";
 import AceEditor, { IAceOptions } from "react-ace";
 import parseJson from "parse-json";
 import styled from "styled-components";
-import { ErrorContainer } from "./ErrorContainer";
+import { ErrorContainer } from "../../components/ErrorContainer/ErrorContainer";
 import { ConfigActionType } from "src/reducer/reducer";
 import { useConfig } from "src/hocs/config";
 require("ace-builds/src-noconflict/mode-json");

+ 2 - 2
src/containers/LiveEditor/index.tsx

@@ -5,10 +5,10 @@ import {
   TransformComponent,
   ReactZoomPanPinchRef,
 } from "react-zoom-pan-pinch";
-import { Canvas, ElkRoot } from "reaflow";
+import { Canvas } from "reaflow";
 
 import { getEdgeNodes } from "./helpers";
-import { CustomNode } from "./CustomNode";
+import { CustomNode } from "../../components/CustomNode";
 import { useLoading } from "src/hooks/useLoading";
 import { useConfig } from "src/hocs/config";
 import { Tools } from "../Editor/Tools";