You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using babel-preset-env and taking a look at your code, I'm using the same features throughout my code base.. but somehow I still get this. Any ideas?
./node_modules/react-share-button/components/ShareBtn.js
Module parse failed: Unexpected token (62:6)
You may need an appropriate loader to handle this file type.
| const gmailURL = `https://mail.google.com/mail/u/0/?view=cm&ui=2&tf=0&fs=1&su=${this.props.text}&body=Check out this awesome property %0A${this.props.url}`
| return (
| <div className='share-popup'>
| {this.props.shareModalOpen && <Visibility ref={(node) => { this.visibility = node }} />}
| <a className='sp-tab' href={`whatsapp://send?text=${text}`} onClick={this.whatsappClicked}>
@ ./node_modules/react-share-button/components/index.js 1:0-33
The text was updated successfully, but these errors were encountered:
I'm using babel-preset-env and taking a look at your code, I'm using the same features throughout my code base.. but somehow I still get this. Any ideas?
The text was updated successfully, but these errors were encountered: