0
<Provider store = {store}>
        <Router history = {history} >
           <section>
                <Route path="/" component={DealList}/>
                <Route path="/deal" component={FormDeal}/>
                <Footer/>
           </section>
      </Router>
      </Provider>

I have this react router setup
Now if i call /deal , then the result is the combination of / and /deal path.
What is going wrong here

Yash Sharma
  • 753
  • 6
  • 24

0 Answers0