fix: handle back button

This commit is contained in:
Christel Westerberg
2024-10-17 16:07:30 +02:00
parent e4617d84ba
commit 2fab1fd917
4 changed files with 46 additions and 8 deletions

View File

@@ -6,6 +6,7 @@ import { serverClient } from "@/lib/trpc/server"
import BedType from "@/components/HotelReservation/EnterDetails/BedType"
import Breakfast from "@/components/HotelReservation/EnterDetails/Breakfast"
import Details from "@/components/HotelReservation/EnterDetails/Details"
import HistoryStateManager from "@/components/HotelReservation/EnterDetails/HistoryStateManager"
import SectionAccordion from "@/components/HotelReservation/EnterDetails/SectionAccordion"
import Payment from "@/components/HotelReservation/SelectRate/Payment"
import { getIntl } from "@/i18n"
@@ -37,6 +38,7 @@ export default async function StepPage({
return (
<section>
<HistoryStateManager />
<SectionAccordion
header="Select bed"
step={StepEnum.selectBed}