From c471f328681c8b385b1a303fd1464e4ae20db9d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Pailharey?= <rpailharey@grandlyon.com>
Date: Wed, 20 Jul 2022 10:16:01 +0200
Subject: [PATCH] feat(newsletter): all fields are now optionnal

---
 src/components/MailSuject/mailSubject.tsx  | 2 +-
 src/components/MonthlyInfo/MonthlyInfo.tsx | 2 +-
 src/components/MonthlyNews/MonthlyNews.tsx | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/MailSuject/mailSubject.tsx b/src/components/MailSuject/mailSubject.tsx
index 6f06da5b..b60ee97e 100644
--- a/src/components/MailSuject/mailSubject.tsx
+++ b/src/components/MailSuject/mailSubject.tsx
@@ -24,7 +24,7 @@ const MailSubject: React.FC<MailSubjectProps> = ({
   }
   return (
     <div className="mailSubject">
-      <h2>Objet de la newsletter</h2>
+      <h2>Objet de la newsletter (Optionnel)</h2>
       <p className="title">Objet</p>
       <input
         type="text"
diff --git a/src/components/MonthlyInfo/MonthlyInfo.tsx b/src/components/MonthlyInfo/MonthlyInfo.tsx
index f737ec7a..c28c461f 100644
--- a/src/components/MonthlyInfo/MonthlyInfo.tsx
+++ b/src/components/MonthlyInfo/MonthlyInfo.tsx
@@ -33,7 +33,7 @@ const MonthlyInfo: React.FC<MonthlyInfoProps> = ({
 }: MonthlyInfoProps) => {
   return (
     <div className="monthlyInfo">
-      <h2>Informations du mois</h2>
+      <h2>Informations du mois (Optionnel)</h2>
       <div>
         <p className="title">Image</p>
         <ImagePicker imageURL={imageURL} handleChange={handleChange} />
diff --git a/src/components/MonthlyNews/MonthlyNews.tsx b/src/components/MonthlyNews/MonthlyNews.tsx
index b04223e8..7699c523 100644
--- a/src/components/MonthlyNews/MonthlyNews.tsx
+++ b/src/components/MonthlyNews/MonthlyNews.tsx
@@ -29,7 +29,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({
   }
   return (
     <div className="monthlyNews">
-      <h2>Nouveautés du mois</h2>
+      <h2>Nouveautés du mois (Optionnel)</h2>
       <p className="title">Titre</p>
       <input
         type="text"
-- 
GitLab