Closed rifat-ml closed 2 years ago
Name | Link |
---|---|
Latest commit | 63b212ea2e53a31e8c8af48c60a8ccbd881cf6c8 |
Latest deploy log | https://app.netlify.com/sites/ml-admin-panel-template/deploys/62bc3c96e0d1010008a5279b |
Deploy Preview | https://deploy-preview-150--ml-admin-panel-template.netlify.app/ |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Fix layout remounts
What are you adding?
layout
typeReactNode
toLayoutsEnum
as we ran into compiling error while using thelayout
property inside anynestedRoutes
property. The reason behind this is I think there is a high chance to use this component (e.gsetting.routes.ts
orhome.routes.ts
withnestedRoutes
property) inside any layout component before it's going to export. Although it's not that usual to change the layout on nested routes, there is an option to change that if anyone wants to. Just to avoid errors updated this configurationLayout
component and determine any layout changes at every route changeNotFound
component to nested routesBreaking changes?
Related PR