Disable empty arrow, this func isnt needed as we call save
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user