Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const AppRouter = () => (
- <BrowserRouter>
- <Route path="/xd" component={AuthPage} exact={true} />
- <Route path="/dashboard/addProduct" component={AddProduct} exact={true} />
- <div>
- <Header/>
- <Navigation/>
- <Container maxWidth="lg" >
- <Switch>
- <Route path="/" component={LandingPage} exact={true} />
- <Route path="/xd" component={AuthPage} exact={true} />
- <Route component={NotFoundPage} />
- </Switch>
- </Container>
- </div>
- </BrowserRouter>
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement