Skip to content

Commit 8037f8e

Browse files
Fix incorrect indentations in config.mdx file (#746)
Co-authored-by: Atila Fassina <[email protected]>
1 parent 0fcb810 commit 8037f8e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/routes/solid-router/getting-started/config.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import { render } from "solid-js/web";
1111
import { Router } from "@solidjs/router";
1212

1313
const routes = {
14-
path: "/",
15-
component: import("/routes/index.js"),
16-
}
14+
path: "/",
15+
component: import("/routes/index.js"),
16+
}
1717

1818

1919
render(() => <Router>{routes}</Router>, document.getElementById("app"));
@@ -29,9 +29,9 @@ import { Router } from "@solidjs/router";
2929

3030
const routes = [
3131
{
32-
path: "/",
33-
component: import("/routes/index.js"),
34-
},
32+
path: "/",
33+
component: import("/routes/index.js"),
34+
},
3535
{
3636
path: "/hello-world",
3737
component: <h1>Hello, World!</h1>
@@ -60,9 +60,9 @@ import { Router } from "@solidjs/router";
6060

6161
const routes = [
6262
{
63-
path: "/",
64-
component: lazy(() => import("/routes/index.js")),
65-
},
63+
path: "/",
64+
component: lazy(() => import("/routes/index.js")),
65+
},
6666
{
6767
path: "/hello-world",
6868
component: <h1>Hello, World!</h1>
@@ -78,4 +78,4 @@ render(() => <Router>{routes}</Router>, document.getElementById("app"));
7878
```
7979

8080
To learn more about lazy loading, see the page on [lazy loading components](/solid-router/advanced-concepts/lazy-loading).
81-
</Callout>
81+
</Callout>

0 commit comments

Comments
 (0)