refactor(SW-1273): move find my booking routes in order to import them directly into next config
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user