File size: 341 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { I18N_LANGUAGE_NAMES_ADD } from 'calypso/state/action-types';
import { combineReducers } from 'calypso/state/utils';

export const items = ( state = null, action ) => {
	switch ( action.type ) {
		case I18N_LANGUAGE_NAMES_ADD:
			return action.items;
		default:
			return state;
	}
};

export default combineReducers( {
	items,
} );