While reviewing the code, I noticed that static arrays like roomTypes, priceRange, and sortOptions are being redefined on every render within the component. This isn't ideal, as it can lead to unnecessary re-renders and memory usage.
If u assign this i will start working on this