mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
rn,tracks: fix loadEffects
The resolved promise is expected to return an array.
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
bd5901d59c
commit
3bfa4744c8
@@ -4,8 +4,8 @@
|
||||
* Loads the enabled stream effects.
|
||||
*
|
||||
* @param {Object} store - The Redux store.
|
||||
* @returns {Promsie} - A Promise which resolves when all effects are created.
|
||||
* @returns {Promsie} - A Promise which resolves with an array of the loaded effects.
|
||||
*/
|
||||
export default function loadEffects(store: Object): Promise<any> { // eslint-disable-line no-unused-vars
|
||||
return Promise.resolve();
|
||||
export default function loadEffects(store: Object): Promise<Array<any>> { // eslint-disable-line no-unused-vars
|
||||
return Promise.resolve([]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user