text: import { FETCH_RATE } from '../actions/types';
  
  export default function(state = null, action) {
      switch (action.type) {
          case FETCH_RATE:
              return action.payload || false;
          default:
              return state;
      }
  }