Skip to content

Commit 68bb35e

Browse files
committed
chore: format
1 parent dab5b79 commit 68bb35e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/start/framework/routing.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,16 @@ export default [
5252
If you prefer to define your routes via file naming conventions rather than configuration, the `@react-router/fs-routes` package provides a [file system routing convention][file-route-conventions]. You can even combine different routing conventions if you like:
5353

5454
```ts filename=app/routes.ts
55-
import { type RouteConfig, route } from "@react-router/dev/routes";
55+
import {
56+
type RouteConfig,
57+
route,
58+
} from "@react-router/dev/routes";
5659
import { flatRoutes } from "@react-router/fs-routes";
5760

5861
export default [
5962
route("/", "./home.tsx"),
6063

61-
...await flatRoutes(),
64+
...(await flatRoutes()),
6265
] satisfies RouteConfig;
6366
```
6467

0 commit comments

Comments
 (0)