✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
Merge pull request #304 from hanbin9775/feature/dot-notation-on-edge
Aykut Saraç9216180019fb
diff --cc src/containers/Modals/NodeModal/index.tsxindex 824069c8,93d60def..1f590f9c--- a/src/containers/Modals/NodeModal/index.tsx+++ b/src/containers/Modals/NodeModal/index.tsx@@@ -2,18 -2,22 +2,19 @@@ import React from "react"import dynamic from "next/dynamic";import toast from "react-hot-toast";import { FiCopy } from "react-icons/fi";-import { vscDarkPlus } from "react-syntax-highlighter/dist/cjs/styles/prism";-import { vs } from "react-syntax-highlighter/dist/cjs/styles/prism";+import vs from "react-syntax-highlighter/dist/cjs/styles/prism/vs";+import vscDarkPlus from "react-syntax-highlighter/dist/cjs/styles/prism/vsc-dark-plus";import { Button } from "src/components/Button";import { Modal } from "src/components/Modal";+ import useGraph from "src/store/useGraph";import useStored from "src/store/useStored";+ import styled from "styled-components";-const SyntaxHighlighter = dynamic(- () => import("react-syntax-highlighter/dist/esm/prism-async").then(c => c),- {- ssr: false,- }-);+const SyntaxHighlighter = dynamic(() => import("react-syntax-highlighter/dist/cjs/prism-async"), {+ ssr: false,+});interface NodeModalProps {- selectedNode: object;visible: boolean;closeModal: () => void;}