Skip to content
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

Maj date locale #97

Merged
merged 144 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
728c84d
maj comptes admin + dr
AntonyKLINGER May 27, 2024
c377c2c
mise à jour 29/05
May 29, 2024
935a387
maj
May 29, 2024
87c82d6
maj
AntonyKLINGER May 29, 2024
743328c
maj 29/05
AntonyKLINGER May 29, 2024
1e42653
Merge branch 'main' into update-from-repoA
AntonyKLINGER May 29, 2024
6bbe844
maj email style
AntonyKLINGER May 29, 2024
b8120fe
Merge branch 'update-from-repoA' of https://github.com/incubateur-ade…
AntonyKLINGER May 29, 2024
698a3b1
mise à jour 29/05
May 29, 2024
379528c
maj comptes admin + dr (#1)
AntonyKLINGER May 27, 2024
bf59512
Merge branch 'update-from-repoA' of https://github.com/incubateur-ade…
AntonyKLINGER May 29, 2024
3933546
maj 03/06 >> besoins + ajout titre par jour
AntonyKLINGER Jun 3, 2024
1004a96
Merge branch 'main' into update-from-repoA
AntonyKLINGER Jun 3, 2024
c34a10c
maj visuel session
AntonyKLINGER Jun 3, 2024
dcdf8a6
Merge branch 'update-from-repoA' of https://github.com/incubateur-ade…
AntonyKLINGER Jun 3, 2024
3cfe8a8
maj comptes DR
AntonyKLINGER Jun 3, 2024
97387e1
maj session programme + dr
AntonyKLINGER Jun 3, 2024
17082cf
Merge branch 'main' into update-from-repoA
AntonyKLINGER Jun 3, 2024
33e022e
maj emails
AntonyKLINGER Jun 17, 2024
89c2c64
Update 3/06 - 14h14 (#4) (#5)
AntonyKLINGER Jun 17, 2024
1fa54c8
last maj 17/06
Jun 17, 2024
996c20c
Merge branch 'main' into update-from-repoA
AntonyKLINGER Jun 17, 2024
f6c013e
maj questionnaire
Jun 18, 2024
9c44822
Merge branch 'main' into update-from-repoA
AntonyKLINGER Jun 18, 2024
6fe8a65
maj espace perso
Jun 18, 2024
41af9ba
Merge branch 'update-from-repoA' of https://github.com/incubateur-ade…
Jun 18, 2024
0c9a9a3
maj
Jun 18, 2024
e6d7b9c
maj espace perso
AntonyKLINGER Jun 18, 2024
22a7367
maj espace perso
Jun 18, 2024
a90d0c4
Espace perso (#17)
AntonyKLINGER Jun 18, 2024
6559256
update perso
Jun 18, 2024
a75071e
Ajout de console.log pour debug
Jun 18, 2024
bbf42fd
Merge branch 'main' into update-from-repoA
AntonyKLINGER Jun 18, 2024
dbc11d9
maj admin + questionnaire
Jun 21, 2024
742e647
maj presence
AntonyKLINGER Jun 27, 2024
ba54f44
maj badge + mail
AntonyKLINGER Jun 27, 2024
07dc7e5
maj email after 1 day
AntonyKLINGER Jul 4, 2024
2487f05
maj presence
AntonyKLINGER Jul 4, 2024
e7a7c7e
Merge branch 'main' into update-from-repoA
AntonyKLINGER Jul 4, 2024
d3a9e68
maj 5 mn
AntonyKLINGER Jul 4, 2024
97cee5f
Merge branch 'update-from-repoA' of https://github.com/incubateur-ade…
AntonyKLINGER Jul 4, 2024
f7512ff
maj export excel questionnaires
AntonyKLINGER Jul 4, 2024
06ebf3a
maj workflow emails
AntonyKLINGER Jul 8, 2024
4b84da7
maj presents
AntonyKLINGER Jul 9, 2024
73f9b13
maj espace perso ressources
AntonyKLINGER Jul 10, 2024
fcf9a10
maj upload test
AntonyKLINGER Jul 17, 2024
73285b2
maj upload
AntonyKLINGER Jul 17, 2024
a89304d
Merge branch 'main' into update-from-repoA
AntonyKLINGER Jul 17, 2024
a4981a9
maj api session slug
AntonyKLINGER Aug 29, 2024
ea35f23
maj slug url sessions
AntonyKLINGER Aug 29, 2024
d31eeb5
maj affichage modules et sessions
AntonyKLINGER Aug 29, 2024
03ce753
maj accounts + users
AntonyKLINGER Sep 4, 2024
c26ce26
maj type
AntonyKLINGER Sep 4, 2024
0569671
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
dbb0d65
maj add js
AntonyKLINGER Sep 4, 2024
73044ec
maj add sans mail
AntonyKLINGER Sep 4, 2024
b79af8b
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
b4b6427
maj add
AntonyKLINGER Sep 4, 2024
904709c
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
1662af9
maj add
AntonyKLINGER Sep 4, 2024
632d73c
maj add
AntonyKLINGER Sep 4, 2024
205525e
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
da25c89
maj log add
AntonyKLINGER Sep 4, 2024
c089588
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
0005dca
maj without mails add
AntonyKLINGER Sep 4, 2024
7ac730b
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
a94ee87
maj add juste first day
AntonyKLINGER Sep 4, 2024
6b59c2c
maj first day (#44)
AntonyKLINGER Sep 4, 2024
1a4faf4
maj first day added
AntonyKLINGER Sep 4, 2024
621b736
maj adder
AntonyKLINGER Sep 4, 2024
1b77870
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
a121590
maj with email
AntonyKLINGER Sep 4, 2024
c1bd5cd
Merge branch 'update-from-repoA' of https://github.com/incubateur-ade…
AntonyKLINGER Sep 4, 2024
9f7ec30
maj without mail
AntonyKLINGER Sep 4, 2024
ea0b815
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
e7105f0
maj with sending
AntonyKLINGER Sep 4, 2024
9c7f290
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
17a5e27
maj session register
AntonyKLINGER Sep 4, 2024
5dbfede
maj testeur
AntonyKLINGER Sep 4, 2024
ddf4c9f
new maj test
AntonyKLINGER Sep 4, 2024
e3798af
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
37baed5
maj with logs
AntonyKLINGER Sep 4, 2024
d9bb079
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
2bf98cc
maj epp
AntonyKLINGER Sep 4, 2024
c2ac57e
maj gets
AntonyKLINGER Sep 4, 2024
8e39a32
maj step 1
AntonyKLINGER Sep 4, 2024
980038c
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
8826021
maj step 2
AntonyKLINGER Sep 4, 2024
5d96f63
Merge branch 'update-from-repoA' of https://github.com/incubateur-ade…
AntonyKLINGER Sep 4, 2024
8f000d9
maj step 3
AntonyKLINGER Sep 4, 2024
352fe40
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
8ce459d
maj step 4
AntonyKLINGER Sep 4, 2024
0ecd41b
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
536ea1d
maj step 5
AntonyKLINGER Sep 4, 2024
0bfce3f
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
a1a4c7f
maj step 6
AntonyKLINGER Sep 4, 2024
0bf98e8
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
fa67aee
maj step 8
AntonyKLINGER Sep 4, 2024
83075c4
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
7d47c4f
maj step 9
AntonyKLINGER Sep 4, 2024
5e27568
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
ff795b1
maj step 10
AntonyKLINGER Sep 4, 2024
3712c46
Merge branch 'update-from-repoA' of https://github.com/incubateur-ade…
AntonyKLINGER Sep 4, 2024
13d2736
maj all steps
AntonyKLINGER Sep 4, 2024
013cd05
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 4, 2024
aa6e350
maj package test
AntonyKLINGER Sep 4, 2024
2df1f01
delete log gets
AntonyKLINGER Sep 5, 2024
e575281
maj all
AntonyKLINGER Sep 5, 2024
830d5ec
maj gets
AntonyKLINGER Sep 5, 2024
fbf9d81
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 5, 2024
61cee56
maj workflow mail j+2
AntonyKLINGER Sep 5, 2024
281a167
maj password changes
AntonyKLINGER Sep 16, 2024
2a6b239
maj forgot password
AntonyKLINGER Sep 16, 2024
5dde7ac
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 16, 2024
4231b9a
maj export
AntonyKLINGER Sep 16, 2024
5045b38
ajout polynésie
AntonyKLINGER Sep 16, 2024
abb5ebf
maj reunion
AntonyKLINGER Sep 16, 2024
45a8e20
published sessions only
AntonyKLINGER Sep 17, 2024
7ac4f46
maj regions inscription
AntonyKLINGER Sep 18, 2024
e1e75c6
Maj GMT
AntonyKLINGER Sep 26, 2024
3921f15
maj ajout des régions manquantes
AntonyKLINGER Sep 30, 2024
e4519de
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 30, 2024
9ac65ce
ajout informations export
AntonyKLINGER Sep 30, 2024
538e14e
maj ajout champs formulaire
AntonyKLINGER Sep 30, 2024
fe66900
git test infos quizz
AntonyKLINGER Sep 30, 2024
49846d6
maj from session quizz
AntonyKLINGER Sep 30, 2024
957122e
maj test reviews
AntonyKLINGER Sep 30, 2024
12bd35d
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 30, 2024
37610a6
maj quizz admin
AntonyKLINGER Sep 30, 2024
4f3dffc
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 30, 2024
46d9896
maj questions satisfactions
AntonyKLINGER Sep 30, 2024
50d3c6b
maj telechargement badges
AntonyKLINGER Sep 30, 2024
33eca25
maj ajout participant manuellement
AntonyKLINGER Sep 30, 2024
9b33662
Merge branch 'main' into update-from-repoA
AntonyKLINGER Sep 30, 2024
e17979c
maj informations perso
AntonyKLINGER Sep 30, 2024
5938747
maj duree module
AntonyKLINGER Sep 30, 2024
fd2e068
maj export questionnaire
AntonyKLINGER Sep 30, 2024
fdf9ff9
maj slug cote dazur
AntonyKLINGER Oct 1, 2024
9830bd7
maj module slug
AntonyKLINGER Oct 7, 2024
150093f
maj all bugs resolution
AntonyKLINGER Oct 7, 2024
6b8a10d
Merge branch 'main' into update-from-repoA
AntonyKLINGER Oct 7, 2024
eea0b85
maj export structure
AntonyKLINGER Oct 11, 2024
1f82a1e
maj supaurl
AntonyKLINGER Oct 15, 2024
265d78f
maj date locale
AntonyKLINGER Oct 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions components/AddSession.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,6 @@ export default function AddSession({setOpen, id, nom}){
<option>Guadeloupe</option>
<option>Martinique</option>
<option>Guyane</option>
<option>La Reunion</option>
<option>Mayotte</option>
<option>Polynésie Française</option>
<option>Saint-Pierre et Miquelon</option>
<option>Océan Indien</option>
Expand Down
3 changes: 3 additions & 0 deletions components/AllSessions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ export default function Modules({setPage, page, user}){
<option>La Reunion</option>
<option>Mayotte</option>
<option>Polynésie Française</option>
<option>Saint-Pierre et Miquelon</option>
<option>Océan Indien</option>
<option>Nouvelle Calédonie</option>
</select>
<span className="material-icons">expand_more</span>
</div>
Expand Down
2 changes: 0 additions & 2 deletions components/EditSession.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,6 @@ export default function EditSession({setOpen, id, nom, moduleId, page}){
<option>Guadeloupe</option>
<option>Martinique</option>
<option>Guyane</option>
<option>La Reunion</option>
<option>Mayotte</option>
<option>Polynésie Française</option>
<option>Saint-Pierre et Miquelon</option>
<option>Océan Indien</option>
Expand Down
2 changes: 1 addition & 1 deletion components/Participants.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function Participants({ session, setOpen }){
nom: participant.nom,
prenom: participant.prenom,
program: participant.session.metasSession.programmeSession,
organisation: participant.organisation || '',
organisation: participant.structure || '',
};

const response = await fetch('/api/generate-badge', {
Expand Down
24 changes: 11 additions & 13 deletions components/RencontreDetail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function RencontreDetail({ id, setOpen, userId, user }) {
const questions = [
{
id: 1,
text: "*De 1 à 5, comment évaluez-vous la qualité générale de la Rencontre ?",
text: "De 1 à 5, comment évaluez-vous la qualité générale de la Rencontre ?",
options: [
{ value: 5, label: "5/5 - Très satisfaisant" },
{ value: 4, label: "4/5 - Satisfaisant" },
Expand All @@ -49,7 +49,7 @@ export default function RencontreDetail({ id, setOpen, userId, user }) {
},
{
id: 2,
text: "*De 1 à 5, comment évaluez-vous la qualité du contenu technique partagé lors de la Rencontre ?",
text: "De 1 à 5, comment évaluez-vous la qualité du contenu technique partagé lors de la Rencontre ?",
options: [
{ value: 5, label: "5/5 - Très satisfaisant" },
{ value: 4, label: "4/5 - Satisfaisant" },
Expand All @@ -60,7 +60,7 @@ export default function RencontreDetail({ id, setOpen, userId, user }) {
},
{
id: 3,
text: "*De 1 à 5, comment évaluez-vous la pertinence des intervenant.e.s (expertises, témoignages ...) présent.e.s à la Rencontre ?",
text: "De 1 à 5, comment évaluez-vous la pertinence des intervenants (expertises, témoignages ...) présents à la Rencontre ?",
options: [
{ value: 5, label: "5/5 - Très satisfaisant" },
{ value: 4, label: "4/5 - Satisfaisant" },
Expand All @@ -71,7 +71,7 @@ export default function RencontreDetail({ id, setOpen, userId, user }) {
},
{
id: 4,
text: "*De 1 à 5, comment évaluez-vous la richesse des échanges avec les autres participant.e.s durant la Rencontre ?",
text: "De 1 à 5, comment évaluez-vous la richesse des échanges avec les autres participants durant la Rencontre ?",
options: [
{ value: 5, label: "5/5 - Très satisfaisant" },
{ value: 4, label: "4/5 - Satisfaisant" },
Expand All @@ -82,7 +82,7 @@ export default function RencontreDetail({ id, setOpen, userId, user }) {
},
{
id: 5,
text: "*De 1 à 5, comment évaluez-vous la qualité de l’animation (formats participatifs, dynamisme de l’animateur, etc.) de la Rencontre ?",
text: "De 1 à 5, comment évaluez-vous la qualité de l’animation (formats participatifs, dynamisme de l’animateur, etc.) de la Rencontre ?",
options: [
{ value: 5, label: "5/5 - Très satisfaisant" },
{ value: 4, label: "4/5 - Satisfaisant" },
Expand All @@ -93,7 +93,7 @@ export default function RencontreDetail({ id, setOpen, userId, user }) {
},
{
id: 6,
text: "*De 1 à 5, comment évaluez-vous la qualité de l’organisation de la Rencontre (inscription, communication, lieu, repas, etc.) ?",
text: "De 1 à 5, comment évaluez-vous la qualité de l’organisation de la Rencontre (inscription, communication, lieu, repas, etc.) ?",
options: [
{ value: 5, label: "5/5 - Très satisfaisant" },
{ value: 4, label: "4/5 - Satisfaisant" },
Expand All @@ -109,7 +109,7 @@ export default function RencontreDetail({ id, setOpen, userId, user }) {
},
{
id: 8,
text: "*Comment avez-vous connu les Rencontres Territoire Engagé Transition Ecologique ?",
text: "Comment avez-vous connu les Rencontres Territoire Engagé Transition Ecologique ?",
options: [
{ value: "Via un emailing de la Direction Régionale de l'ADEME", label: "Via un emailing de la Direction Régionale de l'ADEME" },
{ value: "Via des articles de presse", label: "Via des articles de presse" },
Expand Down Expand Up @@ -177,7 +177,7 @@ export default function RencontreDetail({ id, setOpen, userId, user }) {
const handleSubmit = async (event) => {
event.preventDefault();

const requiredQuestions = questions.filter(q => q.id !== 7);
const requiredQuestions = questions.filter(q => q.id == 100000);
const unansweredQuestions = requiredQuestions.filter(q => !responses[q.id] || (q.type === 'radioWithText' && responses[q.id] === 'autre' && !responses[`${q.id}_autre`]));

if (unansweredQuestions.length > 0) {
Expand Down Expand Up @@ -219,12 +219,10 @@ export default function RencontreDetail({ id, setOpen, userId, user }) {
};

function formatDate(dateString) {
const date = new Date(dateString);
const day = date.getDate().toString().padStart(2, '0');
const month = (date.getMonth() + 1).toString().padStart(2, '0');
const year = date.getFullYear();
const base = dateString.split('T');
const [year, month, day] = base[0].split('-')
return `${day}/${month}/${year}`;
}
}

const getUserSession = async () => {
const fetcher = await fetch(`/api/sessions/${id}`);
Expand Down
8 changes: 3 additions & 5 deletions components/Rencontres.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@ export default function Rencontres({ user }){
}, [status, open])

function formatDate(dateString) {
const date = new Date(dateString);
const day = date.getDate().toString().padStart(2, '0');
const month = (date.getMonth() + 1).toString().padStart(2, '0');
const year = date.getFullYear();
const base = dateString.split('T');
const [year, month, day] = base[0].split('-')
return `${day}/${month}/${year}`;
}
}

return (
<div className={styles.Rencontres}>
Expand Down
2 changes: 1 addition & 1 deletion pages/api/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const config = {
},
};

const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL;
const supabaseUrl = "https://eazuwwpllqueujyivlce.supabase.co" //process.env.NEXT_PUBLIC_SUPABASE_URL;
const supabaseKey = process.env.SUPABASE_KEY;
const supabase = createClient(supabaseUrl, supabaseKey);

Expand Down
2 changes: 0 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ export default function Home() {
<li><Link href={`/rencontres?region=Guadeloupe`} onMouseOver={() => setRegion('GUA')} onMouseOut={() => setRegion('')}><span className="material-icons">room</span>Guadeloupe</Link></li>
<li><Link href={`/rencontres?region=Martinique`} onMouseOver={() => setRegion('MART')} onMouseOut={() => setRegion('')}><span className="material-icons">room</span>Martinique</Link></li>
<li><Link href={`/rencontres?region=Guyane`} onMouseOver={() => setRegion('GUY')} onMouseOut={() => setRegion('')}><span className="material-icons">room</span>Guyane</Link></li>
<li><Link href={`/rencontres?region=La Reunion`} onMouseOver={() => setRegion('REU')} onMouseOut={() => setRegion('')}><span className="material-icons">room</span>La Reunion</Link></li>
<li><Link href={`/rencontres?region=Mayotte`} onMouseOver={() => setRegion('MAY')} onMouseOut={() => setRegion('')}><span className="material-icons">room</span>Mayotte</Link></li>
<li><Link href={`/rencontres?region=Polynésie Française`} onMouseOver={() => setRegion('POL')} onMouseOut={() => setRegion('')}><span className="material-icons">room</span>Polynésie Française</Link></li>
<li><Link href={`/rencontres?region=Saint-Pierre et Miquelon`} onMouseOver={() => setRegion('SPM')} onMouseOut={() => setRegion('')}><span className="material-icons">room</span>Saint-Pierre et Miquelon</Link></li>
<li><Link href={`/rencontres?region=Océan Indien`} onMouseOver={() => setRegion('OIN')} onMouseOut={() => setRegion('')}><span className="material-icons">room</span>Océan Indien</Link></li>
Expand Down
2 changes: 1 addition & 1 deletion pages/rencontres/[category]/[session].js
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ export default function Session({ data, user }){
</div>
<div className="w80">
<span className={styles.dLabel}>Durée du module :</span>
<span className={styles.dValue}>{data.metasSession.nombreJours} jour{data.metasSession.nombreJour > 1 ? 's' : ''}</span>
<span className={styles.dValue}>{data.metasSession.nombreJours} jour{data.metasSession.nombreJours > 1 ? 's' : ''}</span>
</div>
</div>
<div className="flex alignstart gap10 mTop20">
Expand Down
2 changes: 0 additions & 2 deletions pages/rencontres/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,6 @@ export default function Rencontres({ base, region, pilier, thematique }){
<li className={filtres.region == "Guadeloupe" ? styles.RegionActive : undefined} onClick={(event) => {setFiltres(prev => { return { ...prev, nom: '', departement: '', region: "Guadeloupe" } });setSwitcher(true)}}><span className="material-icons">room</span>Guadeloupe</li>
<li className={filtres.region == "Martinique" ? styles.RegionActive : undefined} onClick={(event) => {setFiltres(prev => { return { ...prev, nom: '', departement: '', region: "Martinique" } });setSwitcher(true)}}><span className="material-icons">room</span>Martinique</li>
<li className={filtres.region == "Guyane" ? styles.RegionActive : undefined} onClick={(event) => {setFiltres(prev => { return { ...prev, nom: '', departement: '', region: "Guyane" } });setSwitcher(true)}}><span className="material-icons">room</span>Guyane</li>
<li className={filtres.region == "La Reunion" ? styles.RegionActive : undefined} onClick={(event) => {setFiltres(prev => { return { ...prev, nom: '', departement: '', region: "La Reunion" } });setSwitcher(true)}}><span className="material-icons">room</span>La Reunion</li>
<li className={filtres.region == "Mayotte" ? styles.RegionActive : undefined} onClick={(event) => {setFiltres(prev => { return { ...prev, nom: '', departement: '', region: "Mayotte" } });setSwitcher(true)}}><span className="material-icons">room</span>Mayotte</li>
<li className={filtres.region == "Polynésie Française" ? styles.RegionActive : undefined} onClick={(event) => {setFiltres(prev => { return { ...prev, nom: '', departement: '', region: "Polynésie Française" } });setSwitcher(true)}}><span className="material-icons">room</span>Polynésie Française</li>
<li className={filtres.region == "Saint-Pierre et Miquelon" ? styles.RegionActive : undefined} onClick={(event) => {setFiltres(prev => { return { ...prev, nom: '', departement: '', region: "Saint-Pierre et Miquelon" } });setSwitcher(true)}}><span className="material-icons">room</span>Saint-Pierre et Miquelon</li>
<li className={filtres.region == "Océan Indien" ? styles.RegionActive : undefined} onClick={(event) => {setFiltres(prev => { return { ...prev, nom: '', departement: '', region: "Océan Indien" } });setSwitcher(true)}}><span className="material-icons">room</span>Océan Indien</li>
Expand Down