chore: lint

This commit is contained in:
amhsirak
2025-01-09 19:20:14 +05:30
parent 1546ce59aa
commit e87952535a

View File

@@ -57,11 +57,10 @@ const DatePicker: React.FC<DatePickerProps> = ({ coordinates, selector, onClose
<button <button
onClick={handleConfirm} onClick={handleConfirm}
disabled={!selectedDate} disabled={!selectedDate}
className={`px-3 py-1 text-sm rounded ${ className={`px-3 py-1 text-sm rounded ${selectedDate
selectedDate
? 'bg-blue-500 text-white hover:bg-blue-600' ? 'bg-blue-500 text-white hover:bg-blue-600'
: 'bg-gray-300 text-gray-500 cursor-not-allowed' : 'bg-gray-300 text-gray-500 cursor-not-allowed'
}`} }`}
> >
Confirm Confirm
</button> </button>