From 767c464c51627559863eb6929744cc25fd4fb816 Mon Sep 17 00:00:00 2001 From: Michael Foiani Date: Sun, 5 Aug 2018 00:19:16 -0400 Subject: Made some other small imports and edits to allow the redux management to work correctly. --- src/actions/app.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/actions/app.js') diff --git a/src/actions/app.js b/src/actions/app.js index 849fadb..e0b95e3 100644 --- a/src/actions/app.js +++ b/src/actions/app.js @@ -26,16 +26,13 @@ export const navigate = (path) => (dispatch) => { dispatch(updateDrawerState(false)); }; -import {snapshotForums} from './firebase.js'; +import { snapshotForums } from './firebaseFirestore.js'; var hasSubscribedPosts = false; const loadPage = (page) => (dispatch) => { switch(page) { case 'home': - import('../components/mao-home.js').then((module) => { - // Put code in here that you want to run every time when - // navigating to view1 after my-view1.js is loaded. - }); + import('../components/mao-home.js') break; case 'compete': import('../components/mao-competitions.js'); -- cgit v1.2.3-70-g09d2