oh-my-c0de/oh-my-fullstack

View on GitHub

Showing 1 of 5 total issues

Function withStore has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const withStore = (WrappedComponent) => {
  class WithRedux extends Component {
    static async getInitialProps(appContext) {
      // Get or Create the store with `undefined` as initialState
      // This allows you to set a custom default initialState
Severity: Minor
Found in redux/with-store.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language