|
|
@ -32,6 +32,7 @@ export const createApp = ( |
|
|
uiFunctions, |
|
|
uiFunctions, |
|
|
onScreenSlotRendered: () => {}, |
|
|
onScreenSlotRendered: () => {}, |
|
|
routeTo, |
|
|
routeTo, |
|
|
|
|
|
appRootPath: frontendDefinition.appRootPath, |
|
|
}) |
|
|
}) |
|
|
const getAttchChildrenParams = attachChildrenParams(stateManager) |
|
|
const getAttchChildrenParams = attachChildrenParams(stateManager) |
|
|
screenSlotNode.props._children = [screen.props] |
|
|
screenSlotNode.props._children = [screen.props] |
|
|
@ -78,6 +79,7 @@ export const createApp = ( |
|
|
componentLibraries, |
|
|
componentLibraries, |
|
|
uiFunctions, |
|
|
uiFunctions, |
|
|
onScreenSlotRendered, |
|
|
onScreenSlotRendered, |
|
|
|
|
|
appRootPath: frontendDefinition.appRootPath, |
|
|
// seems weird, but the routeTo variable may not be available at this point
|
|
|
// seems weird, but the routeTo variable may not be available at this point
|
|
|
routeTo: url => routeTo(url), |
|
|
routeTo: url => routeTo(url), |
|
|
}) |
|
|
}) |
|
|
|