From 000dc39f6a80d92748610bad84c53bdaa2e46e58 Mon Sep 17 00:00:00 2001 From: turcotteb Date: Thu, 28 Nov 2024 14:49:15 -0500 Subject: [PATCH] commit 28 nov 14h50 --- src/components/Tabs/StartTab.jsx | 2 +- src/components/Tabs/TaxaTab.jsx | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Tabs/StartTab.jsx b/src/components/Tabs/StartTab.jsx index 50a15cf9..1f729ea7 100644 --- a/src/components/Tabs/StartTab.jsx +++ b/src/components/Tabs/StartTab.jsx @@ -34,7 +34,7 @@ const StartTab = ({ disabled, record, updateRecord, handleUpdateRecord, userID } const regionInfo = regions[region]; const [showShareRecord, setShowShareRecord] = useState(false) const mounted = useRef(false); - const themes = themesList.find(e => e === language); + const themes = themesList[0].find(e => e === language); const updateResourceType = (value) => { if(Array.isArray(value) && value.length === 1 && value.includes('other')){ diff --git a/src/components/Tabs/TaxaTab.jsx b/src/components/Tabs/TaxaTab.jsx index e6c18ce1..cbc60f6b 100644 --- a/src/components/Tabs/TaxaTab.jsx +++ b/src/components/Tabs/TaxaTab.jsx @@ -203,7 +203,12 @@ const TaxaTab = ({ + GBIF taxa Search + Système mondial d’information sur la biodiversité + + } /> )} />