Skip to content

Commit

Permalink
Merge pull request #31 from thegeekybaniya/dev
Browse files Browse the repository at this point in the history
Fixed Warnings
  • Loading branch information
niklabh committed May 9, 2020
2 parents 279632c + d507357 commit 01c6402
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@
/* 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';
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) {
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 01c6402

Please sign in to comment.