aboutsummaryrefslogtreecommitdiff
path: root/src/reducers/firebaseStorage.js
diff options
context:
space:
mode:
authorMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-08-13 23:35:00 -0400
committerMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-08-13 23:35:00 -0400
commit2ea02124a564c54f20ea530b56cd9f932212f9f3 (patch)
tree48c42c4a1403d83f2f32a00e24c91dd584433d55 /src/reducers/firebaseStorage.js
parentfe125c5deb979d753d8b903ce6cdeb968e1c5f46 (diff)
Tried many things to try to fix the glitch. I was successful. Yay! 5 hours of debugging a bug is finally over. :)
Diffstat (limited to 'src/reducers/firebaseStorage.js')
-rw-r--r--src/reducers/firebaseStorage.js25
1 files changed, 11 insertions, 14 deletions
diff --git a/src/reducers/firebaseStorage.js b/src/reducers/firebaseStorage.js
index 8ec702e..0c3921a 100644
--- a/src/reducers/firebaseStorage.js
+++ b/src/reducers/firebaseStorage.js
@@ -8,22 +8,19 @@ Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
-import {
- UPDATE_PICTURE
-}
-from '../actions/firebaseStorage.js';
+import { UPDATE_PICTURE } from '../actions/firebaseStorage.js';
- const firebaseStorage = (state = {pictureName: "", uploaded: false}, action) => {
- switch (action.type) {
- case UPDATE_PICTURE:
- return {
- pictureName: action.name,
- uploaded: action.uploaded
- };
- break;
+const firebaseStorage = (state = {pictureName: "", uploaded: false}, action) => {
+ switch (action.type) {
+ case UPDATE_PICTURE:
+ return {
+ pictureName: action.name,
+ uploaded: action.uploaded
+ };
+ break;
- default:
- return state;
+ default:
+ return state;
}
};