<label className={`${darkModeActive ? 'text-brand-five' : 'text-brand-seven'} ${errors.invoiceDate ? 'text-[#EC5756]' : ''}`} htmlFor="invoiceDate">
Invoice Date
</label>
I am encountering an issue where the text color does not change to red when errors.InvoiceDate is true. The class is applied to the DOM, but the desired effect is not achieved. It seems like there might be some conflict with other classes causing this. Interestingly, if I manually change the color in the code and save the file, it works temporarily until the dev server is restarted. Is there a more effective way to implement this?