add max chars limit to feedback text

This commit is contained in:
pierre
2023-08-11 11:55:01 +02:00
parent d57e8efff2
commit af51ab3f71
2 changed files with 3 additions and 2 deletions
@@ -51,7 +51,8 @@ export const Disconnected: FCWithChildren<{
{showFeedbackNote ? (
<Alert variant="outlined" icon={false} onClose={() => setShowFeedbackNote(false)}>
Help improve NymConnect{' '}
Help improve NymConnect
<br />
<Link to="/menu/reporting/user-feedback" component={RouterLink} color="secondary" underline="hover">
Send feedback
</Link>
@@ -14,7 +14,7 @@ type FormValues = {
const schema = object({
email: string().email(),
feedback: string().required().min(20),
feedback: string().required().min(20).max(512),
}).required();
export const UserFeedback = () => {