Fix draggable-markers code link (#813)

This commit is contained in:
Xintong Xia 2019-06-03 21:07:12 -07:00 committed by GitHub
parent 5d8bfa5971
commit d18073c292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,12 @@ export default class ControlPanel extends PureComponent {
<h3>Draggable Marker</h3>
<p>Try dragging the marker to another location.</p>
<div>{eventNames.map(this.renderEvent)}</div>
{/* TODO add a "View Code" link here when we know the release */}
<a
href="https://github.com/uber/react-map-gl/tree/5.0-release/examples/draggable-markers"
target="_new"
>
View Code
</a>
</Container>
);
}