Remove layout from default initial state

This commit is contained in:
Kyle Shockey
2017-12-19 23:45:35 -06:00
parent 022b660b8c
commit e07b105b29

View File

@@ -81,10 +81,6 @@ module.exports = function SwaggerUI(opts) {
},
plugins: constructorConfig.presets,
state: deepExtend({
layout: {
layout: constructorConfig.layout,
filter: constructorConfig.filter
},
spec: {
spec: "",
url: constructorConfig.url