Skip to content

Commit a18acbb

Browse files
Fix basic template routes.ts (#12306)
1 parent d47a918 commit a18acbb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

templates/basic/app/routes.ts

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

4-
export default [index("routes/home.tsx")] satisfies RouteConfig;
3+
export const routes: RouteConfig = [index("routes/home.tsx")];

0 commit comments

Comments
 (0)