feat(#22): Use translation keys in files
This commit is contained in:
@@ -25,7 +25,12 @@ export function useFormElementManagement() {
|
||||
|
||||
if (applicationFormId) {
|
||||
try {
|
||||
return await applicationForm.addFormElementToSubSection(applicationFormId, subsectionId, inputFormElement, position + 1)
|
||||
return await applicationForm.addFormElementToSubSection(
|
||||
applicationFormId,
|
||||
subsectionId,
|
||||
inputFormElement,
|
||||
position + 1
|
||||
)
|
||||
} catch (error) {
|
||||
console.error('Failed to add form element:', error)
|
||||
throw error
|
||||
|
||||
@@ -149,4 +149,3 @@ export const usePermissions = () => {
|
||||
canDeleteComment
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user