forked from MapComplete/MapComplete
Fix crash by removing unused 'layer'
This commit is contained in:
parent
8959f72e92
commit
69f7c18ffd
1 changed files with 1 additions and 5 deletions
|
@ -104,15 +104,11 @@ export default class ThemeViewStateHashActor {
|
|||
if (found.properties.id === "last_click") {
|
||||
return true
|
||||
}
|
||||
const layer = this._state.layout.getMatchingLayer(found.properties)
|
||||
console.log(
|
||||
"Setting selected element based on hash",
|
||||
hash,
|
||||
"; found",
|
||||
found,
|
||||
"got matching layer",
|
||||
layer.id,
|
||||
""
|
||||
found
|
||||
)
|
||||
selectedElement.setData(found)
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue