Skip to content

Commit

Permalink
docs: fix syntax error in routing.md (#12793)
Browse files Browse the repository at this point in the history
  • Loading branch information
rifaidev authored Jan 21, 2025
1 parent 71b4eef commit dab5b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/start/framework/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ If you prefer to define your routes via file naming conventions rather than conf
import { type RouteConfig, route } from "@react-router/dev/routes";
import { flatRoutes } from "@react-router/fs-routes";

export default = [
export default [
route("/", "./home.tsx"),

...await flatRoutes(),
Expand Down

0 comments on commit dab5b79

Please sign in to comment.