Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Route exact path='/'
- render={() =>
- <MainPage
- selectBid={this.selectBid}
- popupIndex={popupIndex}
- previousIndex={previousIndex}
- openModal={this.openModal}
- slides={slides}
- />
- }
- />
- <Route
- path='/profile'
- render={() => (
- userName ? (
- <Profile
- avatar={avatar}
- userName={userName}/>
- ) : (
- <Redirect to='/'/>
- )
- )}
- />
- <Route path='/faq' component={FAQ}/>
- <Route path='/sample' component={Sample}/>
- <Route component={NotFound}/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement