Skip to content

Commit 5e2ab83

Browse files
committed
fix(routes): Update route prefix for home page
1 parent 086ece3 commit 5e2ab83

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/routes.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
import { type RouteConfig, index } from "@react-router/dev/routes";
1+
import { type RouteConfig, index, prefix } from "@react-router/dev/routes";
22

3-
export default [index("routes/home.tsx")] satisfies RouteConfig;
3+
export default prefix("/react-main-2024-w2", [
4+
index("routes/home.tsx")
5+
]) satisfies RouteConfig;

0 commit comments

Comments
 (0)