           axios             .get("http://localhost:0000/api/shipping/history/0")             .then(response => {               var output = response && response.data;                const newState = Object.assign({}, state);               newState.