mirror of
https://github.com/maputnik/editor.git
synced 2026-08-25 22:47:39 +00:00
Ensure editor does not crash with raster layers
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user