Showing 1 of 5 total issues
Function withStore
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
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