diff --git a/squarenotsquare/src/redux/actions/SystemActions.js b/squarenotsquare/src/redux/actions/SystemActions.js index e9708d6..6a00bb0 100644 --- a/squarenotsquare/src/redux/actions/SystemActions.js +++ b/squarenotsquare/src/redux/actions/SystemActions.js @@ -1,11 +1,12 @@ -import { initDB } from "../../realm/DbInit"; import DbAPI from "../../realm/DbAPI"; import { APP_INIT } from "../types/SystemTypes"; +import { squareNav } from "../../navigation/SquareNav"; export function appInit() { return async (dispatch) => { await DbAPI.initDB(); dispatch(onInit()); + setTimeout(() => squareNav('Home'), 1000); } }