mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove update functions
This commit is contained in:
parent
409006ff2b
commit
b7cc86163c
1 changed files with 0 additions and 5 deletions
|
|
@ -311,7 +311,6 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
|
|||
'handleAutoHighlightModeChange',
|
||||
updateHighlightMode
|
||||
)
|
||||
document.addEventListener('updateTextDirection', handleUpdateTextDirection)
|
||||
|
||||
return () => {
|
||||
document.removeEventListener('updateFontFamily', updateFontFamily)
|
||||
|
|
@ -336,10 +335,6 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
|
|||
updateHighlightMode
|
||||
)
|
||||
document.removeEventListener('saveReadPosition', saveReadPosition)
|
||||
document.removeEventListener(
|
||||
'updateTextDirection',
|
||||
handleUpdateTextDirection
|
||||
)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue