You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.native.js 358B

12345678910111213141516171819
  1. // @flow
  2. import { type Dispatch } from 'redux';
  3. import { appNavigate } from '../app/actions';
  4. export * from './actions.any';
  5. /**
  6. * Cancels the ongoing knocking and abandons the join flow.
  7. *
  8. * @returns {Function}
  9. */
  10. export function cancelKnocking() {
  11. return async (dispatch: Dispatch<any>) => {
  12. dispatch(appNavigate(undefined));
  13. };
  14. }