Skip to content

Commit ecd62c0

Browse files
authored
Update README.md
1 parent 8ee9c7a commit ecd62c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ import React, { useState } from 'react';
6666
import ReactDOM from 'react-dom';
6767

6868
function App() {
69-
const [markdown, setMarkdown] = useState('# This is a H1 \n## This is a H2 \n###### This is a H6');
69+
const [markdown, setMarkdown] = useState("");
7070
return (
7171
<MarkdownEditor
72-
value={markdown}
72+
value="# This is a H1 \n## This is a H2 \n###### This is a H6"
7373
onChange={(editor, data, value) => setMarkdown(value)}
7474
/>
7575
);
@@ -145,4 +145,4 @@ npm run doc
145145

146146
## License
147147

148-
[MIT © Kenny Wong](./LICENSE)
148+
[MIT © Kenny Wong](./LICENSE)

0 commit comments

Comments
 (0)