Fix typo
This commit is contained in:
parent
ec95956e25
commit
d2b2f98941
|
@ -52,14 +52,14 @@ function _setConfig(store, next, action) {
|
||||||
// disposed of first.
|
// disposed of first.
|
||||||
// TODO Currently, disposeLib actually does not dispose of lib-jitsi-meet
|
// TODO Currently, disposeLib actually does not dispose of lib-jitsi-meet
|
||||||
// because lib-jitsi-meet does not implement such functionality.
|
// because lib-jitsi-meet does not implement such functionality.
|
||||||
const disposeLIbPromise
|
const disposeLibPromise
|
||||||
= initialized ? dispatch(disposeLib()) : Promise.resolve();
|
= initialized ? dispatch(disposeLib()) : Promise.resolve();
|
||||||
|
|
||||||
// Let the new config into the Redux store (because initLib will read it
|
// Let the new config into the Redux store (because initLib will read it
|
||||||
// from there).
|
// from there).
|
||||||
const nextState = next(action);
|
const nextState = next(action);
|
||||||
|
|
||||||
disposeLIbPromise.then(dispatch(initLib()));
|
disposeLibPromise.then(dispatch(initLib()));
|
||||||
|
|
||||||
return nextState;
|
return nextState;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue