pass in routeParams to uiFunctions
This commit is contained in:
parent
0902febc00
commit
d0f3eeca1b
|
@ -42,7 +42,9 @@ export const prepareRenderComponent = ({
|
|||
}
|
||||
|
||||
if (func) {
|
||||
func(createNodeAndRender, parentContext, getCurrentState())
|
||||
const state = getCurrentState()
|
||||
const routeParams = state["##routeParams"]
|
||||
func(createNodeAndRender, parentContext, getCurrentState(), routeParams)
|
||||
} else {
|
||||
createNodeAndRender()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue