diff --git a/squarenotsquare/src/redux/actions/UserActions.js b/squarenotsquare/src/redux/actions/UserActions.js index e69de29..afb8299 100644 --- a/squarenotsquare/src/redux/actions/UserActions.js +++ b/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 + }); + } +} \ No newline at end of file