feat(sw-453): removed useMemo on getValues

This commit is contained in:
Pontus Dreij
2024-10-29 11:09:29 +01:00
parent f35ccbd997
commit 3705ff0120
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@@ -42,5 +42,8 @@ certificates
#vscode
.vscode/
#cursor
.cursorrules
# localfile with all the CSS variables exported from design system
variables.css

View File

@@ -50,7 +50,7 @@ export default function RoomFilter({
const petFriendly = watch(RoomPackageCodeEnum.PET_ROOM)
const allergyFriendly = watch(RoomPackageCodeEnum.ALLERGY_ROOM)
const selectedFilters = useMemo(() => getValues(), [getValues])
const selectedFilters = getValues()
const tooltipText = intl.formatMessage({
id: "Pet-friendly rooms have an additional fee of 20 EUR per stay",