1
1
mirror of https://github.com/c8r/x0.git synced 2024-08-16 17:00:24 +03:00

Merge subroute props

This commit is contained in:
Brent Jackson 2018-05-28 12:12:18 -04:00
parent 751b0bdf81
commit 2529629a52

View File

@ -135,7 +135,7 @@ const getRoutes = async (App) => {
: {}
dynamicRoutes.push(
Object.assign({}, route, subroute, {
props: Object.assign({}, route.props, pageProps)
props: Object.assign({}, route.props, subroute.props, pageProps)
})
)
return