feat: refactor NewDates, clean up legacy code
This reverts commit 0c7836fa59.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
"use client"
|
||||
import { useMemo } from "react"
|
||||
import { use, useMemo } from "react"
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import { Carousel } from "@/components/Carousel"
|
||||
@@ -78,7 +78,7 @@ function addBreakfastPackage(
|
||||
}
|
||||
|
||||
export function Ancillaries({
|
||||
ancillaries,
|
||||
ancillariesPromise,
|
||||
booking,
|
||||
packages,
|
||||
user,
|
||||
@@ -86,6 +86,7 @@ export function Ancillaries({
|
||||
refId,
|
||||
}: AncillariesProps) {
|
||||
const intl = useIntl()
|
||||
const ancillaries = use(ancillariesPromise)
|
||||
|
||||
/**
|
||||
* A constructed ancillary for breakfast
|
||||
|
||||
Reference in New Issue
Block a user