update create-app changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
Emma Indal
2022-02-25 14:33:01 +01:00
parent 69a5d47ff8
commit 0492fdf964
+9
View File
@@ -20,3 +20,12 @@ To apply this change to an existing app, make the following change to `packages/
result={document}
/>
```
The `TechDocsIndexPage` now uses `DefaultTechDocsHome` as fall back if no children is provided as `LegacyTechDocsHome` is marked as deprecated. If you do not use a custom techdocs homepage, you can therefore update your app to the following:
```diff
- <Route path="/docs" element={<TechDocsIndexPage />}>
- <DefaultTechDocsHome />
- </Route>
+ <Route path="/docs" element={<TechDocsIndexPage />} />
```