fix: post editor editing status not updated
This commit is contained in:
@@ -354,14 +354,11 @@ export default function PostEditor() {
|
||||
[setView],
|
||||
)
|
||||
|
||||
const onChange = useCallback(
|
||||
(value: string) => {
|
||||
updateValue({
|
||||
content: value,
|
||||
})
|
||||
},
|
||||
[updateValue],
|
||||
)
|
||||
const onChange = (value: string) => {
|
||||
updateValue({
|
||||
content: value,
|
||||
})
|
||||
}
|
||||
|
||||
const onPreviewButtonClick = useCallback(() => {
|
||||
window.open(
|
||||
|
||||
Reference in New Issue
Block a user