bug fix
This commit was merged in pull request #448.
This commit is contained in:
@@ -189,7 +189,7 @@ function YearMonthDropdowns({
|
|||||||
<select
|
<select
|
||||||
name='month'
|
name='month'
|
||||||
id="monthDropdown"
|
id="monthDropdown"
|
||||||
value={(months.filter(month => month.id == selectedMonth)[0].id)}
|
value={(months.filter(month => month.id == selectedMonth)[0]?.id) || 0}
|
||||||
onChange={handleChange}
|
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"
|
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"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user