Bug Description
-
Where?: InvoicePreview.jsx ,CountryPicker.jsx, ReceivedInvoice.jsx
-
Issue: Direct DOM manipulation: e.target.style.display = "none".
-
Fix: Use React state (const [imgError, setImgError] = useState(false)) to handle image fallbacks.
-
Why?: Bypassing React's virtual DOM can lead to inconsistencies.
Steps to Reproduce
N/A
Logs and Screenshots
N/A
Environment Details
N/A
Impact
Critical - Application is unusable
Code of Conduct
Bug Description
Where?:
InvoicePreview.jsx,CountryPicker.jsx,ReceivedInvoice.jsxIssue: Direct DOM manipulation: e.target.style.display = "none".
Fix: Use React state (const [imgError, setImgError] = useState(false)) to handle image fallbacks.
Why?: Bypassing React's virtual DOM can lead to inconsistencies.
Steps to Reproduce
N/A
Logs and Screenshots
N/A
Environment Details
N/A
Impact
Critical - Application is unusable
Code of Conduct