kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
proptypes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>merge-requests/545/head
rodzic
ecdbb80c35
commit
ecbad41bd9
|
@ -23,6 +23,7 @@ class Footer extends ImmutablePureComponent {
|
|||
|
||||
static propTypes = {
|
||||
copyright: PropTypes.string,
|
||||
locale: PropTypes.string,
|
||||
navlinks: ImmutablePropTypes.list,
|
||||
}
|
||||
|
||||
|
@ -38,7 +39,9 @@ class Footer extends ImmutablePureComponent {
|
|||
<ul>
|
||||
{navlinks.map((link, i) => (
|
||||
<li key={i}>
|
||||
<Link to={link.get('url')}>{link.getIn(['titleLocales', locale]) || link.get('title')}</Link>
|
||||
<Link to={link.get('url')}>
|
||||
{link.getIn(['titleLocales', locale]) || link.get('title')}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
|
Ładowanie…
Reference in New Issue