From e4b0fb5a00588b332625fa1c3ba871cc0658c36e Mon Sep 17 00:00:00 2001 From: thegeekybaniya Date: Sat, 9 May 2020 15:31:12 +0530 Subject: [PATCH] Fixed Warnings --- .../modals/audio_group_call/audio_group_call.jsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/webapp/src/components/modals/audio_group_call/audio_group_call.jsx b/webapp/src/components/modals/audio_group_call/audio_group_call.jsx index dbc8370..6b438c2 100644 --- a/webapp/src/components/modals/audio_group_call/audio_group_call.jsx +++ b/webapp/src/components/modals/audio_group_call/audio_group_call.jsx @@ -2,7 +2,6 @@ /* eslint-disable no-shadow */ import {connect} from 'react-redux'; import React from 'react'; -import {bindActionCreators} from 'redux'; import {getCurrentUser, getProfiles} from 'mattermost-redux/selectors/entities/users'; import {getConfig} from 'mattermost-redux/selectors/entities/general'; import PropTypes from 'prop-types'; @@ -10,9 +9,6 @@ import signalhub from 'signalhub'; import swarm from 'webrtc-swarm'; import debug from '../../../utils/debug'; - -import {initializeMyAudio, audioConnectToSwarm} from '../../../actions'; - import {id as pluginId} from 'manifest'; async function getMediaStream(opts) { @@ -430,9 +426,7 @@ const mapStateToProps = (state) => { }; }; -const mapDispatchToProps = (dispatch) => bindActionCreators({initializeMyAudio, audioConnectToSwarm}, dispatch); - -export default connect(mapStateToProps, mapDispatchToProps)(AudioCallPanel); +export default connect(mapStateToProps)(AudioCallPanel); const getStyle = () => ({ button: {