Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
panaC committed Aug 16, 2023
1 parent 36af843 commit 83e0d88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/redux/states/annotation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface IAnnotationState {
uuid: string;
name: string; // like bookmark name
comment: string; // describe annotation mark
hash: string; // md5 ( `${href}:${JSON.stringify(def)}` ))
hash: string; // sha256 ( `${href}:${JSON.stringify(def)}` ))
href: string; // from IHighlightHandlerState
def: IHighlightDefinition; // from IHighlightHandlerState
}
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/reader/redux/sagas/annotation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ function* selectionInfoWatcher(action: readerLocalActionSetLocator.TAction): Sag
}

Check failure on line 74 in src/renderer/reader/redux/sagas/annotation.ts

View workflow job for this annotation

GitHub Actions / build (windows-latest)

Missing semicolon
yield* putTyped(readerLocalActionAnnotations.push.build(annotation));
}

crypto.subtle.digest("SHA-256", Buffer.from(""));
}

function* annotationUIEnable(_action: readerLocalActionAnnotationUI.enable.TAction): SagaIterator {
Expand Down

0 comments on commit 83e0d88

Please sign in to comment.