Updated to newest node, refactored for heroku

This commit is contained in:
Senad Uka
2019-03-14 05:41:06 +01:00
parent 7fc24add1f
commit a4ed76e29b
26 changed files with 60 additions and 106 deletions

View File

@@ -1,4 +1,4 @@
import { CATEGORY_SELECT } from "constants/actionTypes";
import { CATEGORY_SELECT } from "../constants/actionTypes";
export default (state = null, action) => {
switch (action.type) {

View File

@@ -3,7 +3,7 @@ import {
SUBCATEGORY_SELECT,
CATEGORY_SELECT,
OPTION_CHANGE
} from "constants/actionTypes";
} from "../constants/actionTypes";
export default (state = [], action) => {
switch (action.type) {

View File

@@ -1,4 +1,4 @@
import { MODAL_CLOSE, MODAL_OPEN } from "constants/actionTypes";
import { MODAL_CLOSE, MODAL_OPEN } from "../constants/actionTypes";
export default (state = false, action) => {
switch (action.type) {

View File

@@ -2,7 +2,7 @@ import {
SUBCATEGORY_SELECT,
CATEGORY_SELECT,
OPTION_CHANGE
} from "constants/actionTypes";
} from "../constants/actionTypes";
export default (state = {}, action) => {
switch (action.type) {

View File

@@ -1,4 +1,4 @@
import { SUBCATEGORY_SELECT, CATEGORY_SELECT } from "constants/actionTypes";
import { SUBCATEGORY_SELECT, CATEGORY_SELECT } from "../constants/actionTypes";
export default (state = {}, action) => {
switch (action.type) {

View File

@@ -2,7 +2,7 @@ import {
OPTION_EXPAND_CHANGE,
CATEGORY_SELECT,
SUBCATEGORY_SELECT
} from "constants/actionTypes";
} from "../constants/actionTypes";
export default (state = {}, action) => {
switch (action.type) {

View File

@@ -1,4 +1,4 @@
import { USER_DATA_CHANGED } from "constants/actionTypes";
import { USER_DATA_CHANGED } from "../constants/actionTypes";
export default (state = {}, action) => {
switch (action.type) {