Union of subs 'null' when app is initialized
This commit is contained in:
parent
5f9a84dfd7
commit
1fdf86dd47
1 changed files with 2 additions and 2 deletions
|
|
@ -63,8 +63,8 @@ class SubscriptionsMap extends React.Component {
|
||||||
|
|
||||||
handleLeafletLoad(map) {
|
handleLeafletLoad(map) {
|
||||||
// console.log('Map loading');
|
// console.log('Map loading');
|
||||||
// console.log(map);
|
if (map && this.props.userSubs !== 'null') {
|
||||||
if (map) {
|
// console.log(`Union of ${this.props.userSubs}`);
|
||||||
this.state.union = subsUnion(this.state.union, {
|
this.state.union = subsUnion(this.state.union, {
|
||||||
map,
|
map,
|
||||||
subs: this.props.userSubs,
|
subs: this.props.userSubs,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue