mattermost-mobile/app/components/post_attachment_opengraph/index.js
2018-06-19 19:14:50 -04:00

19 lines
563 B
JavaScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {getOpenGraphMetadata} from 'mattermost-redux/actions/posts';
import PostAttachmentOpenGraph from './post_attachment_opengraph';
function mapDispatchToProps(dispatch) {
return {
actions: bindActionCreators({
getOpenGraphMetadata,
}, dispatch),
};
}
export default connect(null, mapDispatchToProps)(PostAttachmentOpenGraph);