Former-commit-id: b22e0f1b2336c16a4b656fb7e1c72b97ed61a6ba
This commit is contained in:
troyeguo
2023-09-23 13:15:43 +08:00
parent 373501b478
commit c1b46e7ca9
3 changed files with 0 additions and 4 deletions

View File

@@ -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,

View File

@@ -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") {

View File

@@ -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 {