mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-28 17:39:57 +02:00
Fix variable name (#3156)
This commit is contained in:
committed by
Ian Storm Taylor
parent
cd3a925592
commit
5de91cb4ee
@@ -146,7 +146,7 @@ const App = () => {
|
||||
defaultValue={defaultValue}
|
||||
onChange={value => {
|
||||
// Serialize the value and save the string value to Local Storage.
|
||||
const content = serialize(newValue)
|
||||
const content = serialize(value)
|
||||
localStorage.setItem('content', content)
|
||||
}}
|
||||
>
|
||||
|
Reference in New Issue
Block a user