Skip to content

Commit ec10186

Browse files
committed
fix: whitespace in defaultValue
1 parent 641fbe1 commit ec10186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/MyApp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const languages: SupportedLanguages[] = ["typescript", "golang", "python", "rust
1818
const MyApp: React.FC = () => {
1919
const darkMode = useDarkMode();
2020
const [, setIsEditorReady] = useState(false);
21-
const [defaultValue] = useState(`{\n "title": "foo",\n "type": "string" \n}`);
21+
const [defaultValue] = useState(`{\n "title": "foo",\n "type": "string"\n}`);
2222
const [value, setValue] = useState(defaultValue);
2323
const [results, setResults] = useState("");
2424
const [languageAnchorEl, setLanguageAnchorEl] = React.useState<null | HTMLElement>(null);

0 commit comments

Comments
 (0)