Guest User

Untitled

a guest
Mar 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. render() {
  2. var returnVar="";
  3. returnVar= <div>
  4. {
  5. this.props.channels.preferedChannelsList.map(function (item, i) {
  6. return ( <StoryBoard
  7. key={this.props.match.params.search === "search"?Math.random():"storyBoard-" + i + "-" + item.name.replace("&","and").replace("`","").replace("'","")}
  8. ></StoryBoard>)
  9. }.bind(this))
  10.  
  11. </div>;
  12. </div>
  13.  
  14. return (
  15. returnVar
  16.  
  17. );
  18. }
  19. }
Add Comment
Please, Sign In to add comment