Skip to content

Commit

Permalink
commit 28 nov 15h22
Browse files Browse the repository at this point in the history
  • Loading branch information
bturcotte committed Nov 28, 2024
1 parent c6733d1 commit 1e6c980
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/Tabs/StartTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ 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);
if (themes) {
const theme = themes[language];
}
const themes = themesList.map(function(data){return (data[language])});




Expand Down Expand Up @@ -288,7 +286,7 @@ const StartTab = ({ disabled, record, updateRecord, handleUpdateRecord, userID }
defaultValue="oceanographic"
onChange={(v) => updateResourceType(v)}
options={["oceanographic", "biological", "other"]}
optionLabels={theme}
optionLabels={themes}

disabled={disabled}
/>
Expand Down

0 comments on commit 1e6c980

Please sign in to comment.