1
0
Fork 0

fix(core): Fixed issue with wrong store for log

This commit is contained in:
joostdecock 2022-09-25 09:18:41 +02:00
parent 12c5c6a3f8
commit b3679ede55
4 changed files with 101 additions and 44 deletions

View file

@ -29,8 +29,9 @@ export function Design(designConfig) {
pattern.prototype = Object.create(Pattern.prototype)
pattern.prototype.constructor = pattern
// Make designConfig available without need to instantiate pattern
// Make design & pattern config available without instantiating a pattern
pattern.designConfig = designConfig
pattern.patternConfig = new pattern().getConfig()
return pattern
}