diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index cd2ede9..a8ef612 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -334,7 +334,7 @@ "btn_add": "Add a role", "btn_mod": "Modify role", "update_btn": "Modify", - "update_label" : "Modify roles for {{email}}" + "update_label": "Modify roles for {{email}}" } } } diff --git a/public/locales/fr/translation.json b/public/locales/fr/translation.json index 6471e9b..a72e7ff 100644 --- a/public/locales/fr/translation.json +++ b/public/locales/fr/translation.json @@ -338,7 +338,7 @@ "btn_add": "Ajouter un role", "btn_mod": "Modifier un role", "update_btn": "Modifier", - "update_label" : "Modifier les roles pour {{email}}" + "update_label": "Modifier les roles pour {{email}}" } } } diff --git a/src/components/Recipes/ModifyRecipe.tsx b/src/components/Recipes/ModifyRecipe.tsx index 3635380..2e00032 100644 --- a/src/components/Recipes/ModifyRecipe.tsx +++ b/src/components/Recipes/ModifyRecipe.tsx @@ -110,7 +110,7 @@ const ModifyRecipe: React.FC = () => { await uploadRecipeImage(recipe.id ? recipe.id : '', event.target.files[0]); await queryClient.invalidateQueries(`recipe-${recipe.id}`); - addToast(`${t('products.update.alert_img_upload')}`, { + addToast(`${t('products.alert_img_upload')}`, { appearance: 'success', autoDismiss: true, });