Recent jitsi changes giving error

I took the latest jitsi and calling dispatch(appNavigate(undefined)) for mobile on JitsiConferenceErrors.CONFERENCE_DESTROYED (react/features/base/conference/middleware.any.js)

it’s giving the following error


I think it’s the recent changes that caused this error.