aboutsummaryrefslogtreecommitdiff
path: root/src/actions/firebaseAuth.js
diff options
context:
space:
mode:
authorMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-08-05 00:19:16 -0400
committerMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-08-05 00:19:16 -0400
commit767c464c51627559863eb6929744cc25fd4fb816 (patch)
tree391af6f5ed15baf4baf417203bb1c62f41a95e1e /src/actions/firebaseAuth.js
parent959b2cbefde8284ae677f5e6f5ef79890cfe1aea (diff)
Made some other small imports and edits to allow the redux management to work correctly.
Diffstat (limited to 'src/actions/firebaseAuth.js')
-rw-r--r--src/actions/firebaseAuth.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/actions/firebaseAuth.js b/src/actions/firebaseAuth.js
index ff49888..c80836c 100644
--- a/src/actions/firebaseAuth.js
+++ b/src/actions/firebaseAuth.js
@@ -45,6 +45,17 @@ export const createAccount = (_email, _password, divison) => (dispatch) => {
});
}
+import {
+ setUserData,
+ fetchDivison,
+ snapshotHours,
+ snapshotRegisteredCompetitions
+} from './firebaseFirestore.js';
+
+import {
+ adminListener
+} from './firebaseAdmin.js'
+
export const signIn = (_email, _password, divison) => (dispatch) => {
auth.signInWithEmailAndPassword(_email, _password).then(() => {
var user = auth.currentUser;