remove unused props in audio controls
This commit is contained in:
parent
419e5af2a6
commit
6960c524de
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user