From 1cb8dc939da6c53180c3d8f613428c683dbaf177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vikt=C3=B3ria=20Brezinov=C3=A1?= Date: Fri, 8 Dec 2023 19:41:16 +0100 Subject: [PATCH] remove checkbox and change text about gdpr --- src/components/RegisterForm/RegisterForm.tsx | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/components/RegisterForm/RegisterForm.tsx b/src/components/RegisterForm/RegisterForm.tsx index 89dc6a4f..77e3cd6f 100644 --- a/src/components/RegisterForm/RegisterForm.tsx +++ b/src/components/RegisterForm/RegisterForm.tsx @@ -5,12 +5,11 @@ import {FC} from 'react' import {SubmitHandler, useForm} from 'react-hook-form' import styles from '@/components/FormItems/Form.module.scss' -import {FormCheckbox} from '@/components/FormItems/FormCheckbox/FormCheckbox' import {FormInput} from '@/components/FormItems/FormInput/FormInput' import {IGeneralPostResponse} from '@/types/api/general' import {useSeminarInfo} from '@/utils/useSeminarInfo' -import {Button} from '../Clickable/Clickable' +import {Button, Link} from '../Clickable/Clickable' import {SchoolSubForm, SchoolSubFormValues} from '../SchoolSubForm/SchoolSubForm' interface RegisterFormValues extends SchoolSubFormValues { @@ -149,17 +148,11 @@ export const RegisterForm: FC = () => { - { - if (!val) return '* Súhlas so spracovaním osobných údajov je nutnou podmienkou registrácie.' - }, - }} - />

* takto označéné polia sú povinné

+

+ Vyplnením a odoslaním registrácie beriem na vedomie, že moje osobné údaje budú spracované v súlade so zákonom + o ochrane osobných údajov. Bližšie informácie nájdete tu. +