Skip to content

Commit

Permalink
Merge pull request #189 from pacificclimate/i181-DRY-App
Browse files Browse the repository at this point in the history
DRY up App component
  • Loading branch information
rod-glover authored Jun 30, 2020
2 parents 9b261fc + 4268995 commit 18f8070
Show file tree
Hide file tree
Showing 14 changed files with 764 additions and 809 deletions.
1,059 changes: 532 additions & 527 deletions public/external-text/default.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/components/app-root/AboutTabBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ export default class AboutTabBody extends React.Component {
map(
tab => (
<Tab
eventKey={tab.tab}
title={tab.tab}
eventKey={tab.label}
title={tab.label}
className='pt-2'
>
<Cards items={tab.cards}/>
</Tab>
)
)(T.get(
this.context,
'about.tabs',
'tabs.about.tabs',
{version: process.env.REACT_APP_VERSION}
)
)
Expand Down
Loading

0 comments on commit 18f8070

Please sign in to comment.