Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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. }