@@ -35,7 +35,7 @@ export const defaultValue = [
},
];
-const JsonEditor = () => {
+const JsonEditor: React.FC = () => {
const [json, setJson] = useLocalStorage("json", JSON.stringify(defaultValue));
React.useEffect(() => {
@@ -27,7 +27,7 @@ const StyledEditor = styled.div`
overflow: hidden;
`;
-const Editor = () => {
+const Editor: React.FC = () => {
return (
<StyledEditorWrapper>
<StyledTools>tools</StyledTools>