daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 47 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top