mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Disable empty arrow, this func isnt needed as we call save
This commit is contained in:
parent
a15af3f514
commit
f8b828a070
1 changed files with 2 additions and 1 deletions
|
|
@ -584,7 +584,8 @@ export function HighlightsLayer(props: HighlightsLayerProps): JSX.Element {
|
|||
onOpenChange={function (open: boolean): void {
|
||||
setLabelsTarget(undefined)
|
||||
}}
|
||||
onLabelsChanged={function (labels: Label[] | undefined): void {}}
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
onLabelsChanged={function (labels: Label[]): void {}}
|
||||
save={function (labels: Label[]): Promise<Label[] | undefined> {
|
||||
const result = setLabelsForHighlight(
|
||||
labelsTarget.id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue