Skip to content

Commit

Permalink
commit 28 nov 14h50
Browse files Browse the repository at this point in the history
  • Loading branch information
bturcotte committed Nov 28, 2024
1 parent f3b646b commit 000dc39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Tabs/StartTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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')){
Expand Down
7 changes: 6 additions & 1 deletion src/components/Tabs/TaxaTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,12 @@ const TaxaTab = ({
<TextField
// eslint-disable-next-line react/jsx-props-no-spreading
{...params}
label='GBIF taxa Search'
label={
<I18n>
<En>GBIF taxa Search</En>
<Fr>Système mondial d’information sur la biodiversité </Fr>
</I18n>
}
/>
)}
/>
Expand Down

0 comments on commit 000dc39

Please sign in to comment.