pass in locale to questionnaire for welsh version

This commit is contained in:
2026-04-08 16:50:47 +01:00
parent 87af9a2c4c
commit 1f5be7c9a2
3 changed files with 108 additions and 105 deletions
@@ -289,6 +289,8 @@ const RepCompleteSubmit = (props) => {
return;
}
repFormData.locale = router.locale == "cy" ? "cy" : "en";
const pdfBlob = await generateRepPDF(
repFormData,
containerID,