Merge pull request #3232 from omnivore-app/fix/web-note-highlights-layout
Empty note text if no note is attached to an article
This commit is contained in:
@ -122,6 +122,8 @@ export function NotebookContent(props: NotebookContentProps): JSX.Element {
|
||||
noteState.current.note = note
|
||||
noteState.current.isCreating = false
|
||||
setNoteText(note.annotation || '')
|
||||
} else {
|
||||
setNoteText('')
|
||||
}
|
||||
return result
|
||||
}, [articleData])
|
||||
|
||||
Reference in New Issue
Block a user