feat(SW-718) updates after PR comments
This commit is contained in:
@@ -2,7 +2,7 @@ import { useEffect, useState } from "react"
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import { dt } from "@/lib/dt"
|
||||
import { useRateSelectionStore } from "@/stores/rate-selection"
|
||||
import { useRateSelectionStore } from "@/stores/select-rate/rate-selection"
|
||||
|
||||
import SignupPromoDesktop from "@/components/HotelReservation/SignupPromo/Desktop"
|
||||
import SignupPromoMobile from "@/components/HotelReservation/SignupPromo/Mobile"
|
||||
@@ -34,12 +34,12 @@ export default function RateSummary({
|
||||
return () => clearTimeout(timer)
|
||||
}, [])
|
||||
|
||||
if (rateSummary.length === 0) return null
|
||||
|
||||
const selectedRateSummary = rateSummary.filter(
|
||||
(summary): summary is Rate => summary !== null
|
||||
)
|
||||
|
||||
if (selectedRateSummary.length === 0) return null
|
||||
|
||||
const {
|
||||
member,
|
||||
public: publicRate,
|
||||
|
||||
Reference in New Issue
Block a user