Browse Source

square start pressed user action creator

pull/8/head
Tim Glasgow 2 years ago
parent
commit
976c0c7d90
  1. 11
      squarenotsquare/src/redux/actions/UserActions.js

11
squarenotsquare/src/redux/actions/UserActions.js

@ -0,0 +1,11 @@
import { squareNav } from "../../navigation/SquareNav";
import { SQUARE_START } from "../types/SystemTypes";
export function squareStartPressed() {
return (dispatch) => {
squareNav('Game');
dispatch({
type: SQUARE_START
});
}
}
Loading…
Cancel
Save