✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
fix type
AykutSaracbe8258a62698
diff --git a/src/components/Graph/index.tsx b/src/components/Graph/index.tsxindex 6039170a..61c108a0 100644--- a/src/components/Graph/index.tsx+++ b/src/components/Graph/index.tsx@@ -12,17 +12,11 @@ import styled from "styled-components";import { Loading } from "../Loading";import { ErrorView } from "./ErrorView";-type LayoutProps =- | {- isWidget?: never;- openModal: () => void;- setSelectedNode: (node: [string, string][]) => void;- }- | {- isWidget: boolean;- openModal?: () => never;- setSelectedNode?: () => never;- };+interface LayoutProps {+ isWidget?: boolean;+ openModal: () => void;+ setSelectedNode: (node: [string, string][]) => void;+}const StyledEditorWrapper = styled.div<{ isWidget: boolean }>`position: absolute;