text: import { SAVE_URL } from '../constants/actionTypes';
  import objectAssign from 'object-assign';
  import initialState from './initialState';
  
  
  export default function generatorQRCodeReducer(state = initialState.generatorQRCode, action) {
    switch (action.type) {
      case SAVE_URL:
        return objectAssign({}, state, {url: action.url});
      default:
        return state;
    }
  }
  