diff --git a/packages/cmf/src/settings.js b/packages/cmf/src/settings.js index 79e19eb6c24..b17a0d5178b 100644 --- a/packages/cmf/src/settings.js +++ b/packages/cmf/src/settings.js @@ -30,7 +30,7 @@ export function generateDefaultViewId(viewId, componentName, componentId) { * @return {String} MyComponent */ function withoutHOC(componentName) { - const match = componentName.match(/(\([^)]+\))/); + const match = componentName.match(/\(([^)]+)\)/); return match ? match[1] : null; }