Updated reducers to follow Redux Reducer Bundles proposal

This commit is contained in:
Alejandro Celaya
2018-07-15 10:28:39 +02:00
parent ac62410926
commit a4f9a2b8b3
5 changed files with 14 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
import { LIST_SHORT_URLS } from '../../reducers/types';
import { LIST_SHORT_URLS } from '../../short-urls/reducers/shortUrlsList';
export default function selectedServerReducer(state = null, action) {
export default function reducer(state = null, action) {
switch (action.type) {
case LIST_SHORT_URLS:
return action.selectedServer;