oh-my-c0de/oh-my-fullstack

View on GitHub
redux/with-store.js

Summary

Maintainability
A
1 hr
Test Coverage

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

    There are no issues that match your filters.

    Category
    Status