Skip to content

Instantly share code, notes, and snippets.

@jackfranklin
Created April 24, 2018 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackfranklin/d0b9e4b0b5df17289958c0140bcd9e0e to your computer and use it in GitHub Desktop.
Save jackfranklin/d0b9e4b0b5df17289958c0140bcd9e0e to your computer and use it in GitHub Desktop.
class CollectPlus extends Component {
componentDidMount() {
setupClickAndCollect(this.collectPlusContainerRef, this.props.apiKey, newStore => {
this.setState({ selectedStore: newStore })
})
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment