mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-17 12:41:44 +02:00
Fixes a small error in a code example in HTML walkthrough. (#280)
This commit is contained in:
committed by
Ian Storm Taylor
parent
0893418bca
commit
43d5735cc9
@@ -213,7 +213,7 @@ And finally, now that we have our serializer initialized, we can update our app
|
|||||||
```js
|
```js
|
||||||
// Load the initial state from Local Storage or a default.
|
// Load the initial state from Local Storage or a default.
|
||||||
const initialState = (
|
const initialState = (
|
||||||
localStorage.get('content') ||
|
localStorage.getItem('content') ||
|
||||||
'<p></p>'
|
'<p></p>'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user