Remove highlight toast notifications
This commit is contained in:
parent
e2c070b70b
commit
4b75edef4c
1 changed files with 0 additions and 3 deletions
|
|
@ -464,7 +464,6 @@ export default function QuizPage() {
|
|||
|
||||
window.getSelection?.().removeAllRanges()
|
||||
savedHighlightSelectionRef.current = null
|
||||
showToast(removeExisting ? 'Highlight removed' : 'Highlighted')
|
||||
}, [current?.id, manualHighlights])
|
||||
|
||||
const captureHighlightSelection = useCallback(() => {
|
||||
|
|
@ -732,7 +731,6 @@ const timerStarted = timeLeft !== null
|
|||
delete next[current.id]
|
||||
return next
|
||||
})
|
||||
showToast('Question highlights cleared')
|
||||
}
|
||||
|
||||
const removeJoinedHighlight = (textId, offset) => {
|
||||
|
|
@ -751,7 +749,6 @@ const timerStarted = timeLeft !== null
|
|||
if (!Object.keys(nextQuestion).length) delete next[current.id]
|
||||
return next
|
||||
})
|
||||
showToast('Highlight removed')
|
||||
}
|
||||
|
||||
const highlightsFor = (fieldKey) => manualHighlights[current?.id]?.[fieldKey] || []
|
||||
|
|
|
|||
Loading…
Reference in a new issue