Patch for customizer bug causing CQ projects to fail
This commit is contained in:
@@ -107,7 +107,7 @@ const reducer = (state: State, { type, payload }): State => {
|
||||
case 'updateCode':
|
||||
return { ...state, code: payload }
|
||||
case 'healthyRender':
|
||||
const customizerParams: CadhubParams[] = payload.customizerParams
|
||||
const customizerParams: CadhubParams[] = payload.customizerParams || []
|
||||
const currentParameters = {}
|
||||
customizerParams.forEach((param) => {
|
||||
currentParameters[param.name] =
|
||||
|
||||
Reference in New Issue
Block a user