This commit is contained in:
Lachlan Kermode
2020-06-18 10:24:28 +02:00
parent 00105711a8
commit 00a8080eba
11 changed files with 29 additions and 36 deletions

View File

@@ -139,7 +139,7 @@ class Map extends React.Component {
const pane = this.map.getPanes().overlayPane
const { width, height } = this.getClientDims()
return !!this.map ? (
return this.map ? (
<Portal node={pane}>
<svg
ref={this.svgRef}