Disable empty arrow, this func isnt needed as we call save

This commit is contained in:
Jackson Harper
2022-12-21 12:59:12 +08:00
parent a15af3f514
commit f8b828a070

View File

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