import { combineReducers } from 'redux'

import cardsReducer from './cards'
import locationReducer from './location'
import shuttleReducer from './shuttle'
import mapReducer from './map'
import userReducer from './user'
import weatherReducer from './weather'
import surfReducer from './surf'
import diningReducer from './dining'
import eventsReducer from './events'
import newsReducer from './news'
import linksReducer from './links'
import routesReducer from './routes'
import scheduleReducer from './schedule'
import specialEventsReducer from './specialEvents'
import feedbackReducer from './feedback'
import requestStatusesReducer from './requestStatuses'
import requestErrorsReducer from './requestErrors'
import homeReducer from './home'
import messagesReducer from './messages'
import notificationsReducer from './notifications'

module.exports = combineReducers({
	cards: cardsReducer,
	location: locationReducer,
	shuttle: shuttleReducer,
	map: mapReducer,
	user: userReducer,
	weather: weatherReducer,
	surf: surfReducer,
	dining: diningReducer,
	events: eventsReducer,
	news: newsReducer,
	links: linksReducer,
	routes: routesReducer,
	specialEvents: specialEventsReducer,
	schedule: scheduleReducer,
	feedback: feedbackReducer,
	requestStatuses: requestStatusesReducer,
	requestErrors: requestErrorsReducer,
	home: homeReducer,
	messages: messagesReducer,
	notifications: notificationsReducer
})

import { combineReducers } from 'redux'

import cardsReducer from './cards'
import locationReducer from './location'
import shuttleReducer from './shuttle'
import mapReducer from './map'
import userReducer from './user'
import weatherReducer from './weather'
import surfReducer from './surf'
import diningReducer from './dining'
import eventsReducer from './events'
import newsReducer from './news'
import linksReducer from './links'
import routesReducer from './routes'
import scheduleReducer from './schedule'
import specialEventsReducer from './specialEvents'
import feedbackReducer from './feedback'
import requestStatusesReducer from './requestStatuses'
import requestErrorsReducer from './requestErrors'
import homeReducer from './home'
import messagesReducer from './messages'

module.exports = combineReducers({
	cards: cardsReducer,
	location: locationReducer,
	shuttle: shuttleReducer,
	map: mapReducer,
	user: userReducer,
	weather: weatherReducer,
	surf: surfReducer,
	dining: diningReducer,
	events: eventsReducer,
	news: newsReducer,
	links: linksReducer,
	routes: routesReducer,
	specialEvents: specialEventsReducer,
	schedule: scheduleReducer,
	feedback: feedbackReducer,
	requestStatuses: requestStatusesReducer,
	requestErrors: requestErrorsReducer,
	home: homeReducer,
	messages: messagesReducer,
})

Remove notifications reducer from index reducer