mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-18 21:00:35 -04:00
fix bug
Former-commit-id: b22e0f1b2336c16a4b656fb7e1c72b97ed61a6ba
This commit is contained in:
@@ -123,7 +123,6 @@ class PopupOption extends React.Component<PopupOptionProps> {
|
||||
};
|
||||
handleHighlight = () => {
|
||||
let highlighters: any = this.props.notes;
|
||||
console.log(highlighters);
|
||||
if (!highlighters) return;
|
||||
let highlightersByChapter = highlighters.filter((item: Note) => {
|
||||
if (this.props.currentBook.format !== "PDF") {
|
||||
@@ -142,7 +141,6 @@ class PopupOption extends React.Component<PopupOptionProps> {
|
||||
);
|
||||
}
|
||||
});
|
||||
console.log(highlightersByChapter);
|
||||
renderHighlighters(
|
||||
highlightersByChapter,
|
||||
this.props.currentBook.format,
|
||||
|
||||
@@ -82,7 +82,6 @@ class Viewer extends React.Component<ViewerProps, ViewerState> {
|
||||
};
|
||||
handleHighlight = (rendition: any) => {
|
||||
let highlighters: any = this.props.notes;
|
||||
console.log(highlighters);
|
||||
if (!highlighters) return;
|
||||
let highlightersByChapter = highlighters.filter((item: Note) => {
|
||||
if (this.props.currentBook.format !== "PDF") {
|
||||
|
||||
@@ -17,7 +17,6 @@ export const renderHighlighters = async (
|
||||
"line-3",
|
||||
];
|
||||
clearHighlight();
|
||||
console.log(notes);
|
||||
for (let index = 0; index < notes.length; index++) {
|
||||
const item = notes[index];
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user