diff --git a/react/features/base/lib-jitsi-meet/actions.js b/react/features/base/lib-jitsi-meet/actions.js index 64b391e91..b1466e742 100644 --- a/react/features/base/lib-jitsi-meet/actions.js +++ b/react/features/base/lib-jitsi-meet/actions.js @@ -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. diff --git a/react/features/base/lib-jitsi-meet/reducer.js b/react/features/base/lib-jitsi-meet/reducer.js index d62635618..b123acad0 100644 --- a/react/features/base/lib-jitsi-meet/reducer.js +++ b/react/features/base/lib-jitsi-meet/reducer.js @@ -55,7 +55,7 @@ ReducerRegistry.register( case LIB_INIT_ERROR: return { ...state, - initializationError: action.lib.error, + initializationError: action.error, initialized: false };