Merged in fix/book-674-select-hotel-infinite-loop (pull request #3351)
fix(BOOK-674): Refactor how we handle hotel filters * Refactor hotel filters store to URL state * Rename hotel filter store Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -4,11 +4,11 @@ import { useIntl } from "react-intl"
|
||||
|
||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
|
||||
import { useHotelFilterStore } from "../../../stores/hotel-filters"
|
||||
import { useHotelResultCountStore } from "../../../stores/hotel-result-count"
|
||||
|
||||
export default function HotelCount() {
|
||||
const intl = useIntl()
|
||||
const resultCount = useHotelFilterStore((state) => state.resultCount)
|
||||
const resultCount = useHotelResultCountStore((state) => state.resultCount)
|
||||
|
||||
return (
|
||||
<Typography variant="Title/Subtitle/md">
|
||||
|
||||
Reference in New Issue
Block a user