File size: 320 Bytes
1e92f2d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import { MEDIA_MODAL_VIEW_SET } from 'calypso/state/action-types';
import { combineReducers } from 'calypso/state/utils';
export const view = ( state = null, action ) => {
switch ( action.type ) {
case MEDIA_MODAL_VIEW_SET:
return action.view;
}
return state;
};
export default combineReducers( {
view,
} );
|