Why are two providers showing up in React Dev Tools

433 views Asked by At

In React Dev Tools, I'm seeing two providers:

enter image description here

As far as I know, I'm not doing anything weird when setting up the code:

ReactDom.render(
  <Provider store={store}> 
    <ConnectedRouter history={history} > 
      <Routes store={store} /> 
    </ConnectedRouter> 
  </Provider>, document.getElementById('root')
);

Is it possible that there's a bug in the tool, or am I committing a common error?

0

There are 0 answers