feat(sw-453): removed useMemo on getValues
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -42,5 +42,8 @@ certificates
|
||||
#vscode
|
||||
.vscode/
|
||||
|
||||
#cursor
|
||||
.cursorrules
|
||||
|
||||
# localfile with all the CSS variables exported from design system
|
||||
variables.css
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user