-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get Contact page question labels and descriptions from back-end #744
Conversation
const textareaComponents = | ||
primaryForm?.filter((component): component is StaticFormTextAreaComponentOutput => component.type === 'textarea') || | ||
[] | ||
|
||
return <Home formData={textareaComponents} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is happening here? And why is this necessary?
import { Grid, SubmitButton } from '@meldingen/ui' | ||
import { useActionState } from 'react' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We didn't set a test coverage limit, but branches
of this component are at 77% since the airadescribedby is not tested.
…into get-static-form-texts-from-be
return ( | ||
<Grid paddingBottom="large" paddingTop="medium"> | ||
<Grid.Cell span={{ narrow: 4, medium: 6, wide: 6 }} start={{ narrow: 1, medium: 2, wide: 3 }}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This component needs internationalisation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup. I didn't do that yet to prevent merge conflicts.
Co-authored-by: Vincent de Graaf <[email protected]>
Co-authored-by: Vincent de Graaf <[email protected]>
No description provided.