Skip to content

Commit

Permalink
style: fix typo in docs (layotus -> layouts) (#8255)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmazzola committed Nov 7, 2021
1 parent b496664 commit 85612d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/concepts.md
Expand Up @@ -662,7 +662,7 @@ And the resulting element tree rendered will be:
</App>
```

The `PageLayout` route is admittedly weird. We call it a [layout route](#layout-route) because it doesn't participate in the matching at all (though its children do). It only exists to make wrapping multiple child routes in the same layout simpler. If we didn't allow this then you'd have to handle layotus in two different ways: sometimes your routes do it for you, sometimes you do it manually with lots of layout component repetition throughout your app:
The `PageLayout` route is admittedly weird. We call it a [layout route](#layout-route) because it doesn't participate in the matching at all (though its children do). It only exists to make wrapping multiple child routes in the same layout simpler. If we didn't allow this then you'd have to handle layouts in two different ways: sometimes your routes do it for you, sometimes you do it manually with lots of layout component repetition throughout your app:

<docs-error>You can do it like this, but we recommend using a layout route</docs-error>

Expand Down

0 comments on commit 85612d8

Please sign in to comment.