daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. goToPhoto(pageName) {
  2.     const {history} = this.props;
  3.     history.push(`/photo/${pageName}`);
  4.   }
  5.  
  6.   <a onClick={() => this.props.goToPhoto(photo.pageName)}>`${photo.title}`}</a>
RAW Paste Data
Top