From 4a80e92001810ec429f5a880787fdb61e0d1df32 Mon Sep 17 00:00:00 2001 From: Rishabh Gusain Date: Wed, 22 May 2024 04:28:41 +0530 Subject: [PATCH] xyz --- src/components/Hotels/Hotelslist.js | 6 +++--- src/components/Hotels/SortComponent.js | 6 +++--- src/components/SearchPanel/SearchPanel.js | 16 ++++++++-------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/Hotels/Hotelslist.js b/src/components/Hotels/Hotelslist.js index 727008d..3960766 100644 --- a/src/components/Hotels/Hotelslist.js +++ b/src/components/Hotels/Hotelslist.js @@ -69,8 +69,8 @@ const HotelsList = () => {
-
-
+
+
{selectedCity.city_name && selectedCity.state_name ? `Showing hotels from ${selectedCity.city_name}, ${selectedCity.state_name}` : 'Select a destination to see hotels'} @@ -80,7 +80,7 @@ const HotelsList = () => {
-
+
{hotels.map((hotel, index) => ( ))} diff --git a/src/components/Hotels/SortComponent.js b/src/components/Hotels/SortComponent.js index e1a2f14..ba25bea 100644 --- a/src/components/Hotels/SortComponent.js +++ b/src/components/Hotels/SortComponent.js @@ -17,12 +17,12 @@ const SortComponent = ({ onSort }) => { }; return ( -
-
Sort
+
+
Sort by:
setDestination(e.target.value)} - className="mt-3.5 text-sm text-black bg-transparent border-none outline-none" + className="mt-2 text-sm text-black bg-transparent border-none outline-none w-full" > {locations.map((location, index) => ( @@ -42,14 +42,14 @@ const SearchPanel = ({ onSearch }) => {