mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove test text when creating highlights
This commit is contained in:
parent
24780ea5f6
commit
add720d523
1 changed files with 2 additions and 2 deletions
|
|
@ -444,7 +444,7 @@ export function HighlightsLayer(props: HighlightsLayerProps): JSX.Element {
|
|||
await removeHighlightCallback()
|
||||
break
|
||||
case 'create':
|
||||
await createHighlightCallback('none')
|
||||
await createHighlightCallback()
|
||||
break
|
||||
case 'comment':
|
||||
if (props.highlightBarDisabled || focusedHighlight) {
|
||||
|
|
@ -657,7 +657,7 @@ export function HighlightsLayer(props: HighlightsLayerProps): JSX.Element {
|
|||
dispatchHighlightMessage('noteCreated')
|
||||
} else {
|
||||
try {
|
||||
await createHighlightCallback('none')
|
||||
await createHighlightCallback()
|
||||
dispatchHighlightMessage('noteCreated')
|
||||
} catch (error) {
|
||||
dispatchHighlightError('saveAnnotation', error)
|
||||
|
|
|
|||
Loading…
Reference in a new issue