Skip to content

001: unused switch statement #1

Description

@Altiano

file: src/reducers/posts_reducer.js

  switch (action.type) {
    case FETCH_POSTS:
      return action.payload;
    // case CREATE_POST:
    //   return { ...state, ...action.payload };
    // case DELETE_POST:
    //   return _.omit(state, action.payload);
  }

even if i comment this two cases the 001 - Redux & Firebase app will still work..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions