Loads index when locations are finally available in props; added through componentDidUpdate method

This commit is contained in:
efarooqui
2020-10-20 13:28:58 -07:00
parent e03fc472e0
commit cd19910b06
2 changed files with 23 additions and 16 deletions

View File

@@ -76,7 +76,6 @@ export function insetSourceFrom (allSources) {
sources = []
} else {
sources = event.sources.map(id => {
// const id = typeof src === 'object' ? src.id : src
return allSources.hasOwnProperty(id) ? allSources[id] : null
})
}