[RN] Fix incorrect JitsiMeetJS.init error handling
This commit is contained in:
parent
9ac7c97e67
commit
b8f28abfdf
|
@ -49,7 +49,7 @@ export function initLib() {
|
|||
.catch(error => {
|
||||
dispatch({
|
||||
type: LIB_INIT_ERROR,
|
||||
lib: { error }
|
||||
error
|
||||
});
|
||||
|
||||
// TODO Handle LIB_INIT_ERROR error somewhere instead.
|
||||
|
|
|
@ -55,7 +55,7 @@ ReducerRegistry.register(
|
|||
case LIB_INIT_ERROR:
|
||||
return {
|
||||
...state,
|
||||
initializationError: action.lib.error,
|
||||
initializationError: action.error,
|
||||
initialized: false
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue