Skip to content

fix: open attribute drawer on feature select and pass selected feature #2621

fix: open attribute drawer on feature select and pass selected feature

fix: open attribute drawer on feature select and pass selected feature #2621

Triggered via pull request September 2, 2024 12:44
Status Failure
Total duration 1m 26s
Artifacts

on-pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
build: src/components/ToolMenu/Draw/index.tsx#L101
Property 'onFeatureSelect' does not exist on type 'ModifyButtonProps'.
build: src/components/ToolMenu/Draw/index.tsx#L101
Parameter 'event' implicitly has an 'any' type.
build: src/components/ToolMenu/Draw/index.tsx#L311
Type '{ children: Element[]; value: string; type: "link"; onFeatureSelect: any; }' is not assignable to type 'IntrinsicAttributes & OwnProps & Omit<UseModifyProps, "active" | "onFeatureSelect"> & Partial<ToggleButtonProps>'.
build
Process completed with exit code 2.