From e8c5eb91fbf0fe714782258900572bb036ccd50d Mon Sep 17 00:00:00 2001 From: David Schneider Date: Tue, 18 Apr 2017 13:48:40 -0700 Subject: [PATCH] Linting: semicolon --- types/react-leaflet/react-leaflet-tests.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/types/react-leaflet/react-leaflet-tests.tsx b/types/react-leaflet/react-leaflet-tests.tsx index 0df8987e27..667d92d6ea 100644 --- a/types/react-leaflet/react-leaflet-tests.tsx +++ b/types/react-leaflet/react-leaflet-tests.tsx @@ -49,13 +49,13 @@ export class AnimateExample extends Component { this.setState({ latlng: e.latlng, }); - }; + } toggleAnimate = () => { this.setState({ animate: !this.state.animate, }); - }; + } render() { const marker = this.state.hasLocation ? ( @@ -116,11 +116,11 @@ export class BoundsExample extends Component { onClickInner = () => { this.setState({ bounds: inner }); - }; + } onClickOuter = () => { this.setState({ bounds: outer }); - }; + } render() { return ( @@ -243,7 +243,7 @@ export class DraggableExample extends Component { this.setState({ draggable: !this.state.draggable }); - }; + } updatePosition = () => { const { @@ -253,7 +253,7 @@ export class DraggableExample extends Component { handleClick = () => { (this.refs.map as Map).leafletElement.locate(); - }; + } handleLocationFound = (e: Leaflet.LocationEvent) => { this.setState({ hasLocation: true, latlng: e.latlng, }); - }; + } render() { const marker = this.state.hasLocation ? (