From ec101865a2e88064e1fe6260db2bd56fee66468e Mon Sep 17 00:00:00 2001 From: shanejonas Date: Mon, 24 Feb 2020 23:59:14 -0800 Subject: [PATCH] fix: whitespace in defaultValue --- src/containers/MyApp.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/MyApp.tsx b/src/containers/MyApp.tsx index cd2a8c5..93a6999 100644 --- a/src/containers/MyApp.tsx +++ b/src/containers/MyApp.tsx @@ -18,7 +18,7 @@ const languages: SupportedLanguages[] = ["typescript", "golang", "python", "rust const MyApp: React.FC = () => { const darkMode = useDarkMode(); const [, setIsEditorReady] = useState(false); - const [defaultValue] = useState(`{\n "title": "foo",\n "type": "string" \n}`); + const [defaultValue] = useState(`{\n "title": "foo",\n "type": "string"\n}`); const [value, setValue] = useState(defaultValue); const [results, setResults] = useState(""); const [languageAnchorEl, setLanguageAnchorEl] = React.useState(null);