📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
form change errors color
kruzhambusb3d613c7bfe5
diff --git a/src/pages/Auth/Signup/Signup.jsx b/src/pages/Auth/Signup/Signup.jsxindex 6b1b19c5f..f595533ff 100644--- a/src/pages/Auth/Signup/Signup.jsx+++ b/src/pages/Auth/Signup/Signup.jsx@@ -159,6 +159,7 @@ const Signup = ({ signup }) => {/></span>)}+ hintClassName='!text-red-600 dark:!text-red-500'hint={beenSubmitted ? errors.tos : ''}/><div className='flex mt-4'>diff --git a/src/ui/Checkbox.jsx b/src/ui/Checkbox.jsxindex 05953f9c2..40bed408a 100644--- a/src/ui/Checkbox.jsx+++ b/src/ui/Checkbox.jsx@@ -3,7 +3,7 @@ import cx from 'clsx'import PropTypes from 'prop-types'const Checkbox = ({- label, hint, id, name, className, onChange, checked,+ label, hint, id, name, className, onChange, checked, hintClassName,}) => {const identifier = id || name@@ -23,7 +23,7 @@ const Checkbox = ({<div className='ml-3 text-sm'><label htmlFor={identifier} className='font-medium text-gray-700 dark:text-gray-200 cursor-pointer'>{label}</label>{hint && (- <p id={`${identifier}-description`} className='text-gray-500 dark:text-gray-300'>{hint}</p>+ <p id={`${identifier}-description`} className={cx('text-gray-500 dark:text-gray-300', hintClassName)}>{hint}</p>)}</div></div>@@ -40,6 +40,7 @@ Checkbox.propTypes = {id: PropTypes.string,className: PropTypes.string,name: PropTypes.string,+ hintClassName: PropTypes.string,}Checkbox.defaultProps = {@@ -49,6 +50,7 @@ Checkbox.defaultProps = {id: '',className: '',name: '',+ hintClassName: '',}export default memo(Checkbox)