refactor(SW-1273): move find my booking routes in order to import them directly into next config

This commit is contained in:
Christian Andolf
2025-02-26 13:02:20 +01:00
parent 51f71383d4
commit 7d3c0c96e3
7 changed files with 28 additions and 22 deletions

View File

@@ -2,7 +2,7 @@
import { usePathname } from "next/navigation"
import { useIntl } from "react-intl"
import { findMyBooking } from "@/constants/myBooking"
import { findMyBooking } from "@/constants/routes/findMyBooking"
import { logout } from "@/constants/routes/handleAuth"
import { myPages } from "@/constants/routes/myPages"
import useDropdownStore from "@/stores/main-menu"

View File

@@ -5,7 +5,7 @@ import { Dialog, Modal } from "react-aria-components"
import { useIntl } from "react-intl"
import { useMediaQuery } from "usehooks-ts"
import { findMyBooking } from "@/constants/myBooking"
import { findMyBooking } from "@/constants/routes/findMyBooking"
import useDropdownStore from "@/stores/main-menu"
import LanguageSwitcher from "@/components/LanguageSwitcher"

View File

@@ -1,4 +1,4 @@
import { findMyBooking } from "@/constants/myBooking"
import { findMyBooking } from "@/constants/routes/findMyBooking"
import { getHeader } from "@/lib/trpc/memoizedRequests"
import { auth } from "@/auth"