Skip to content

Commit

Permalink
fix: whitespace in defaultValue
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejonas committed Feb 25, 2020
1 parent 641fbe1 commit ec10186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/MyApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 | HTMLElement>(null);
Expand Down

0 comments on commit ec10186

Please sign in to comment.