瀏覽代碼

fix component name

Aykut Saraç 3 年之前
父節點
當前提交
8e151b65e8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/containers/LiveEditor/CustomNode/TextNode.tsx

+ 2 - 2
src/containers/LiveEditor/CustomNode/TextNode.tsx

@@ -2,7 +2,7 @@ import React from "react";
 import { CustomNodeProps } from ".";
 import * as Styled from "./styles";
 
-const BondNode: React.FC<CustomNodeProps<string>> = ({
+const TextNode: React.FC<CustomNodeProps<string>> = ({
   width,
   height,
   value,
@@ -19,4 +19,4 @@ const BondNode: React.FC<CustomNodeProps<string>> = ({
   );
 };
 
-export default BondNode;
+export default TextNode;