Skip to content

Commit

Permalink
applied suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
CD-Z committed Jan 10, 2024
1 parent 1922504 commit c30266e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/reader/ReaderScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const ChapterContent = ({ route, navigation }) => {
}
}, [readerPages]);
const scrollTo = useCallback(
(offset, axis = 'Y') => {
offset => {
requestAnimationFrame(() => {
webViewRef?.current?.injectJavaScript(
!readerPages
Expand Down

0 comments on commit c30266e

Please sign in to comment.