jiti-meet/react/features/lobby/actions.native.js

20 lines
358 B
JavaScript
Raw Normal View History

2020-05-20 08:25:31 +00:00
// @flow
import { type Dispatch } from 'redux';
import { appNavigate } from '../app/actions';
2020-05-20 08:25:31 +00:00
export * from './actions.any';
/**
* Cancels the ongoing knocking and abandons the join flow.
*
* @returns {Function}
*/
export function cancelKnocking() {
return async (dispatch: Dispatch<any>) => {
dispatch(appNavigate(undefined));
};
}
2020-05-20 08:25:31 +00:00