refactor: / -> /volumes

This commit is contained in:
Nicolas Meienberger
2025-10-21 20:57:13 +02:00
parent 6960b4d71e
commit a64de8ec78
7 changed files with 13 additions and 10 deletions

View File

@@ -1,7 +1,10 @@
import { index, layout, type RouteConfig, route } from "@react-router/dev/routes";
import { layout, type RouteConfig, route } from "@react-router/dev/routes";
export default [
route("onboarding", "./routes/onboarding.tsx"),
route("login", "./routes/login.tsx"),
layout("./components/layout.tsx", [index("./routes/home.tsx"), route("volumes/:name", "./routes/details.tsx")]),
layout("./components/layout.tsx", [
route("volumes", "./routes/home.tsx"),
route("volumes/:name", "./routes/details.tsx"),
]),
] satisfies RouteConfig;