src/redux/reducers/upload-history-reducer.tsx
Function reducer
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const reducer = (state = initState, action) => {
switch (action.type) {
case uploadActions.PAYMENT_CONFIRMED: {
const { filename, handle, numberOfChunks } = action.payload;
const now = Date.now();