qtools_profiler-8.x-1.x-dev/react-app/src/ui/reducers/currentRequest.js
react-app/src/ui/reducers/currentRequest.js
const initialState = 0;
function currentRequest(state = initialState, action) {
if (action.type === 'SELECT_REQUEST') {
return action.data;
}
return state;
}
export default currentRequest;
