mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-25 16:02:50 +00:00
Prevent attribution button from submitting forms (#1477)
This commit is contained in:
parent
18a3d71aae
commit
0d902d4860
@ -79,6 +79,7 @@ function AttributionControl(props) {
|
||||
}`}
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
className="mapboxgl-ctrl-attrib-button"
|
||||
title={props.toggleLabel}
|
||||
onClick={toggleAttribution}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user