Skip to content

Commit

Permalink
fix copy paste error which was messing up I18n components
Browse files Browse the repository at this point in the history
  • Loading branch information
fostermh committed Apr 8, 2024
1 parent bdc0fd5 commit c7da32a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Tabs/ResourcesTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ const ResourcesTab = ({ disabled, record, updateRecord }) => {
<I18n>
<En>Resource</En>
<Fr>La ressource</Fr>
{record.distribution && record.distribution.length > 0 && (<Chip style={{ marginLeft: 10 }} label={record.distribution.length} variant="outlined" />)}
</I18n>
{record.distribution && record.distribution.length > 0 && (<Chip style={{ marginLeft: 10 }} label={record.distribution.length} variant="outlined" />)}
</HeadingText>
</AccordionSummary>
<AccordionDetails>
Expand Down Expand Up @@ -116,8 +116,8 @@ const ResourcesTab = ({ disabled, record, updateRecord }) => {
<I18n>
<En>Related Works</En>
<Fr>Travaux connexes</Fr>
{record.associated_resources && record.associated_resources.length > 0 && (<Chip style={{ marginLeft: 10 }} label={record.associated_resources.length} variant="outlined" />)}
</I18n>
{record.associated_resources && record.associated_resources.length > 0 && (<Chip style={{ marginLeft: 10 }} label={record.associated_resources.length} variant="outlined" />)}
</HeadingText>
</AccordionSummary>
<AccordionDetails>
Expand Down

0 comments on commit c7da32a

Please sign in to comment.