{description}
+ {(title || description) && ( +{error}
; // Display error message in red } return ( diff --git a/src/components/InfoTooltip.jsx b/src/components/InfoTooltip.jsx index 674b74a8..461b4a9b 100644 --- a/src/components/InfoTooltip.jsx +++ b/src/components/InfoTooltip.jsx @@ -4,9 +4,9 @@ import { Info } from 'react-feather'; export default function InfoTooltip({ label }) { return ( -