remove unused props in audio controls

This commit is contained in:
Ramon Souza 2021-04-20 11:36:22 -03:00
parent 419e5af2a6
commit 6960c524de

View File

@ -18,7 +18,12 @@ import AppService from '/imports/ui/components/app/service';
const ROLE_VIEWER = Meteor.settings.public.user.role_viewer;
const APP_CONFIG = Meteor.settings.public.app;
const AudioControlsContainer = props => <AudioControls {...props} />;
const AudioControlsContainer = (props) => {
const {
users, lockSettings, userLocks, children, ...newProps
} = props;
return <AudioControls {...newProps} />;
};
const processToggleMuteFromOutside = (e) => {
switch (e.data) {