✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
add types for components
AykutSaracbb159247f73b
diff --git a/src/pages/editor/JsonEditor/index.tsx b/src/pages/editor/JsonEditor/index.tsxindex 77fec9a9..aafdc7d1 100644--- a/src/pages/editor/JsonEditor/index.tsx+++ b/src/pages/editor/JsonEditor/index.tsx@@ -35,7 +35,7 @@ export const defaultValue = [},];-const JsonEditor = () => {+const JsonEditor: React.FC = () => {const [json, setJson] = useLocalStorage("json", JSON.stringify(defaultValue));React.useEffect(() => {diff --git a/src/pages/editor/index.tsx b/src/pages/editor/index.tsxindex 858c09ab..ccfb4d45 100644--- a/src/pages/editor/index.tsx+++ b/src/pages/editor/index.tsx@@ -27,7 +27,7 @@ const StyledEditor = styled.div`overflow: hidden;`;-const Editor = () => {+const Editor: React.FC = () => {return (<StyledEditorWrapper><StyledTools>tools</StyledTools>