From 2bad3e1d4a7deda55aca84ca20f73ade62e0d9d8 Mon Sep 17 00:00:00 2001 From: Valerio Ageno <51341197+Valerioageno@users.noreply.github.com> Date: Sat, 7 Dec 2024 13:54:16 +0100 Subject: [PATCH] Update apps/documentation/src/routes/documentation/routing/defining-routes.mdx Co-authored-by: Marco Pasqualetti <24919330+marcalexiei@users.noreply.github.com> --- .../src/routes/documentation/routing/defining-routes.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/documentation/src/routes/documentation/routing/defining-routes.mdx b/apps/documentation/src/routes/documentation/routing/defining-routes.mdx index 2a7dcc88..30d1d8b2 100644 --- a/apps/documentation/src/routes/documentation/routing/defining-routes.mdx +++ b/apps/documentation/src/routes/documentation/routing/defining-routes.mdx @@ -72,5 +72,6 @@ export default function PostRootLayout({ children }) { } ``` -With such examples a `/posts/examples-post` route will be wrapper by both layouts while a -generic `/about` route will just have the first `RootLayout` as wrapper. +Referring to the two examples above consider that: +- `/posts/examples-post` → will be wrapped by both `RootLayout` and `PostRootLayout` +- `/about` → will be wrapped only by `RootLayout`