text: import { REVEAL_HIDE_TX_QUEUE, REVEAL_SHOW_TX_QUEUE } from '../constants/actions';
  
  const initialState = {
    queue: null,
    showTxQueue: false
  };
  
  export default function reveal (state = initialState, action) {
    switch (action.type) {
      case REVEAL_SHOW_TX_QUEUE:
        return {...state, queue: action.queue, showTxQueue: true};
  
      case REVEAL_HIDE_TX_QUEUE:
        return {...state, showTxQueue: false};
  
      default:
        return state;
    }
  }
  