Linting and translations
This commit is contained in:
@@ -35,12 +35,10 @@ export const setConsumerPreferredLayers = (consumerId, spatialLayer, temporalLay
|
||||
});
|
||||
|
||||
export const setConsumerPriority = (consumerId, priority) =>
|
||||
{
|
||||
return {
|
||||
type : 'SET_CONSUMER_PRIORITY',
|
||||
payload : { consumerId, priority }
|
||||
};
|
||||
};
|
||||
({
|
||||
type : 'SET_CONSUMER_PRIORITY',
|
||||
payload : { consumerId, priority }
|
||||
});
|
||||
|
||||
export const setConsumerTrack = (consumerId, track) =>
|
||||
({
|
||||
|
||||
@@ -34,11 +34,11 @@ export const setPicture = (picture) =>
|
||||
});
|
||||
|
||||
export const setMediaCapabilities = ({
|
||||
canSendMic,
|
||||
canSendWebcam,
|
||||
canShareScreen,
|
||||
canShareFiles
|
||||
}) =>
|
||||
canSendMic,
|
||||
canSendWebcam,
|
||||
canShareScreen,
|
||||
canShareFiles
|
||||
}) =>
|
||||
({
|
||||
type : 'SET_MEDIA_CAPABILITIES',
|
||||
payload : { canSendMic, canSendWebcam, canShareScreen, canShareFiles }
|
||||
@@ -92,7 +92,7 @@ export const setDisplayNameInProgress = (flag) =>
|
||||
payload : { flag }
|
||||
});
|
||||
|
||||
export const setIsSpeaking = (flag) =>
|
||||
export const setIsSpeaking = (flag) =>
|
||||
({
|
||||
type : 'SET_IS_SPEAKING',
|
||||
payload : { flag }
|
||||
|
||||
@@ -46,7 +46,6 @@ export const setPeerPicture = (peerId, picture) =>
|
||||
payload : { peerId, picture }
|
||||
});
|
||||
|
||||
|
||||
export const addPeerRole = (peerId, role) =>
|
||||
({
|
||||
type : 'ADD_PEER_ROLE',
|
||||
|
||||
Reference in New Issue
Block a user