forked from Ivasoft/mattermost-mobile
* 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
17 lines
421 B
JavaScript
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);
|