1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-30 10:29:48 +02:00

Fix variable name (#3156)

This commit is contained in:
Marton Langa
2019-11-28 23:20:54 +01:00
committed by Ian Storm Taylor
parent cd3a925592
commit 5de91cb4ee

View File

@@ -146,7 +146,7 @@ const App = () => {
defaultValue={defaultValue} defaultValue={defaultValue}
onChange={value => { onChange={value => {
// Serialize the value and save the string value to Local Storage. // Serialize the value and save the string value to Local Storage.
const content = serialize(newValue) const content = serialize(value)
localStorage.setItem('content', content) localStorage.setItem('content', content)
}} }}
> >