This commit was merged in pull request #448.
This commit is contained in:
victorAnumudu
2023-10-23 12:27:54 +01:00
parent 10dae9193c
commit 2e09d77597
@@ -189,7 +189,7 @@ function YearMonthDropdowns({
<select
name='month'
id="monthDropdown"
value={(months.filter(month => month.id == selectedMonth)[0].id)}
value={(months.filter(month => month.id == selectedMonth)[0]?.id) || 0}
onChange={handleChange}
className="input-wrapper border border-[#f5f8fa] dark:border-[#5e6278] w-56 rounded-[35px] h-10 overflow-hidden relative font-medium leading-6 bg-clip-padding text-[#5e6278] dark:text-gray-100 bg-[#f5f8fa] dark:bg-[#5e6278] text-base focus-visible:border-transparent focus-visible:outline-0 focus-visible:ring-transparent px-4"
>