Ensure editor does not crash with raster layers

This commit is contained in:
Lukas Martinelli
2017-01-05 21:05:34 +01:00
parent 08854cd88f
commit e7b11d8bc9
4 changed files with 8 additions and 5 deletions
-1
View File
@@ -4,7 +4,6 @@ import style from './style.js'
export function initialStyleUrl() {
const initialUrl = url.parse(window.location.href, true)
console.log(initialUrl)
return (initialUrl.query || {}).style
}