kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
SidebarMenu: fix access to intl in mapDispatchToProps
rodzic
e8d0ff89ef
commit
468119fe3c
|
@ -91,8 +91,8 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
|
|||
},
|
||||
});
|
||||
|
||||
export default @connect(makeMapStateToProps, mapDispatchToProps)
|
||||
@injectIntl
|
||||
export default @injectIntl
|
||||
@connect(makeMapStateToProps, mapDispatchToProps)
|
||||
class SidebarMenu extends ImmutablePureComponent {
|
||||
|
||||
static propTypes = {
|
||||
|
|
Ładowanie…
Reference in New Issue