Merge commit '8099ba04be
' into kb_migration
This commit is contained in:
commit
70ea37a4cc
302 changed files with 4018 additions and 2611 deletions
|
@ -10,6 +10,7 @@ import {
|
|||
pinAccount,
|
||||
unpinAccount,
|
||||
} from '../../../actions/accounts';
|
||||
import { openURL } from 'mastodon/actions/search';
|
||||
import {
|
||||
mentionCompose,
|
||||
directCompose,
|
||||
|
@ -165,6 +166,10 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
|
|||
}));
|
||||
},
|
||||
|
||||
onOpenURL (url, routerHistory, onFailure) {
|
||||
dispatch(openURL(url, routerHistory, onFailure));
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
export default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(Header));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue