fix(chore) fix typo

This commit is contained in:
Rokixy 2022-08-26 16:11:08 +08:00 committed by GitHub
parent 5790742d53
commit 85d2123fac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ export function obtainDesktopSources(types, options = {}) {
if (JitsiMeetElectron && JitsiMeetElectron.obtainDesktopStreams) { if (JitsiMeetElectron && JitsiMeetElectron.obtainDesktopStreams) {
JitsiMeetElectron.obtainDesktopStreams( JitsiMeetElectron.obtainDesktopStreams(
sources => resolve(_seperateSourcesByType(sources)), sources => resolve(_separateSourcesByType(sources)),
error => { error => {
logger.error( logger.error(
`Error while obtaining desktop sources: ${error}`); `Error while obtaining desktop sources: ${error}`);
@ -54,7 +54,7 @@ export function obtainDesktopSources(types, options = {}) {
* @returns {Object} An object with the sources split into separate arrays based * @returns {Object} An object with the sources split into separate arrays based
* on source type. * on source type.
*/ */
function _seperateSourcesByType(sources = []) { function _separateSourcesByType(sources = []) {
const sourcesByType = { const sourcesByType = {
screen: [], screen: [],
window: [] window: []