You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
onClick={() => {
setSearch({
rent: rent,
property_type: selectedPropertyType,
property_type_id: propertyTypeId,
city: city,
city_id: cityid,
price_min: minPrice,
price_max: maxPrice,
bedrooms: rooms,
baths: baths,
features: updateFeat,
});
}}
```
but when the page is reload it is rendering as a default state
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
here is atom
const [search, setSearch] = useRecoilState(searchState);
I am updating state by onclick event
Beta Was this translation helpful? Give feedback.
All reactions