edited terms & condition feature#1455
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/planetapp/planet-webapp/HkFwCrDVpMYNM273T12ftwbVYQ4j |
|
@sunilsabatp Please also include the German translations of the new text components, at the moment it is only in English (same for the error message, not included in the screenshot). |
|
norbertschuler
left a comment
There was a problem hiding this comment.
Please fix the errors first (either we need backend support for the new terms field or we should not send it with the API request, but then a hack could register without accepting the terms).
sagararyal
left a comment
There was a problem hiding this comment.
Please implement interpolation of translation key, so multiple translation keys aren't added for one sentence.
@sagararyal I added a usage of the Trans component from react-i18next: https://react.i18next.com/latest/trans-component. |



Fixes #
Changes in this pull request:
-created a new state for term and condition
-the user cannot create account without accepting terms and condition