feat: refactor of my stay

This commit is contained in:
Simon Emanuelsson
2025-04-25 14:08:14 +02:00
committed by Simon.Emanuelsson
parent b5deb84b33
commit ec087a3d15
208 changed files with 5458 additions and 4569 deletions

View File

@@ -3,14 +3,14 @@ import { create } from "zustand"
import { trackOpenSidePeekEvent } from "@/utils/tracking"
import type { SidePeekEnum } from "@/types/components/hotelReservation/sidePeek"
import type { User } from "@/types/user"
import type { SafeUser } from "@/types/user"
interface SidePeekState {
activeSidePeek: SidePeekEnum | null
hotelId: string | null
roomTypeCode: string | null
showCTA: boolean
user: User | null
user: SafeUser
confirmationNumber: string
openSidePeek: ({
key,
@@ -24,7 +24,7 @@ interface SidePeekState {
hotelId: string
roomTypeCode?: string
showCTA?: boolean
user?: User
user?: SafeUser
confirmationNumber?: string
}) => void
closeSidePeek: () => void