fix(SW-2210): Removed isUserLoggedIn from RatesStore

This commit is contained in:
Erik Tiekstra
2025-04-16 10:23:57 +02:00
committed by Michael Zetterberg
parent 5323a8e46e
commit 7b76e351d9
13 changed files with 68 additions and 75 deletions

View File

@@ -22,7 +22,6 @@ import type { PriceProduct } from "@/types/trpc/routers/hotel/roomAvailability"
export function createRatesStore({
booking,
hotelType,
isUserLoggedIn,
labels,
pathname,
roomCategories,
@@ -126,7 +125,6 @@ export function createRatesStore({
packageOptions,
hotelType,
isRedemptionBooking,
isUserLoggedIn,
pathname,
rateSummary,
roomConfigurations,
@@ -307,7 +305,7 @@ export function createRatesStore({
})
)
},
selectRate(selectedRate) {
selectRate(selectedRate, isUserLoggedIn) {
return set(
produce((state: RatesState) => {
if (!selectedRate.product) {