title: Store properties showing on mapStateToProps method but store on redux-dev-tools is empty
body: <p>When I console on line 21 of Bugs.js, its sowing ,me the result of action that i dispathed, but when I am printing the data on in li tag..it's blank. Also the store is not chnaged in redux-dev-tools</p>
  <p>That's my App.js code</p>
  <pre><code>function App() {
    const store = configureStore()
    return (
      &lt;Provider store={store}&gt;
        &lt;Bugs /&gt;
      &lt;/Provider&gt;
    );
  }
  
  export default App;
  </code></pre>
  <p>That's Bugs.js</p>
  <pre><code>const Bugs = (props) =&gt; {
      useEffect(props.addBug, [])
      return (
          &lt;ul&gt;
              {
                  props.bugs.map(bug =&gt; {
                      &lt;li&gt;
                          {bug.description}
                      &lt;/li&gt;
                  })
              }
          &lt;/ul&gt;
      )
  }
  
  const mapStateToProps = state =&gt; {
      console.log('Aftab', state.bugs);
      return (
          {
              bugs: state.bugs
          })
  }
  
  const mapDispatchToProps = dispatch =&gt; {
      return (
          {
              addBug: () =&gt; dispatch(addBug({ description: 'Bug 1' }))
          }
      )
  }
  
  export default connect(mapStateToProps, mapDispatchToProps)(Bugs)
  </code></pre>
  <p>And thats reducer</p>
  <pre><code>let lastId = 0
  const slice = createSlice({
      name: 'bugs',
      initialState: [],
      reducers: {
          addBug: (bugs, action) =&gt; {
              bugs.push({
                  id: lastId++,
                  description: action.payload.description,
                  resolved: false
              })
          },
          resolveBug: (bugs, action) =&gt; {
              const index = bugs.findIndex(b =&gt; b.id === action.payload.id)
              bugs[index].resolved = true
          },
          assignBug: (bugs, action) =&gt; {
              const index = bugs.findIndex(b =&gt; b.id === action.payload.bugId)
              bugs[index].userId = action.payload.userId
          }
      }
  })
  export const { addBug, resolveBug, assignBug } = slice.actions
  export default slice.reducer
  
  export const getBugList = userId =&gt; createSelector(
      state =&gt; state.entities.bugs,
      bugs =&gt; bugs.filter(b =&gt; b.userId === userId)
  )
  </code></pre>