Remove Refresh button from header

This commit is contained in:
2026-01-21 10:52:51 -07:00
parent be80d22310
commit 0d1858c08b

View File

@ -459,22 +459,12 @@ const ApartmentDashboard = () => {
</div>
)}
</div>
<div className="flex items-center space-x-2">
{priceDrops.length > 0 && (
<div className="flex items-center space-x-2 bg-yellow-100 text-yellow-800 px-3 py-1 rounded-full text-sm">
<Bell className="w-4 h-4" />
<span>{priceDrops.length} price drops</span>
</div>
)}
<button
onClick={fetchData}
disabled={loading}
className="flex items-center space-x-2 bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700 transition-colors disabled:opacity-50"
>
<RefreshCw className={`w-4 h-4 ${loading ? 'animate-spin' : ''}`} />
<span>Refresh</span>
</button>
</div>
{priceDrops.length > 0 && (
<div className="flex items-center space-x-2 bg-yellow-100 text-yellow-800 px-3 py-1 rounded-full text-sm">
<Bell className="w-4 h-4" />
<span>{priceDrops.length} price drops</span>
</div>
)}
</div>
<div className="flex items-center space-x-4 mt-4">