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:
parent
751b0bdf81
commit
2529629a52
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user