Skip to content

Commit f333402

Browse files
committed
fix: invalid condition in destroy
1 parent 66a4fd6 commit f333402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goong/goong.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export default class Goong {
289289
return;
290290
}
291291

292-
if (!this.props.reuseMaps && !Goong.savedMap) {
292+
if (this.props.reuseMaps && !Goong.savedMap) {
293293
Goong.savedMap = this._map;
294294

295295
// deregister the goong event listeners

0 commit comments

Comments
 (0)