docs(frontend-system): replace page with div in route examples

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-01-09 09:48:21 +01:00
parent 103d2e11d1
commit 4143a4d845
@@ -75,7 +75,7 @@ const rootPage = createPageExtension({ // [2]
// The `name` option is omitted since this is the root page
defaultPath: '/'
routeRef: rootRouteRef,
loader: async () => <Page>Root Page</Page>
loader: async () => <div>Root Page</div>
});
export default const createPlugin({ // [3]