Files
mattermost-mobile/app/components/markdown/markdown_image/index.js
Elias Nahum 9af108026e MM-24285 Use FastImage instead of Image (#4218)
* Enable ESLint no-unused-vars

* Use FastImage instead of Image

* Update fast-image patch to support multiple cookies

* Fix ESLint errors

* Have jest run timers for post_textbox tests

* Feedback review

* Update snapshots
2020-04-28 23:23:39 +08:00

17 lines
421 B
JavaScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {connect} from 'react-redux';
import {getCurrentUrl} from '@mm-redux/selectors/entities/general';
import MarkdownImage from './markdown_image';
function mapStateToProps(state) {
return {
serverURL: getCurrentUrl(state),
};
}
export default connect(mapStateToProps)(MarkdownImage);