-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
created buy now button #37
base: master
Are you sure you want to change the base?
Conversation
Hi Pallavi Did you try running your buy now button? React.createClass is deprecated and removed now, you'll have to use ES2015 class syntax. You may refer to other components. |
okay
…On Mon, Jul 2, 2018 at 9:20 AM, Divjot Singh ***@***.***> wrote:
Hi Pallavi
Did you try running your buy now button? React.createClass is deprecated
and removed now, you'll have to use ES2015 class syntax. You may refer to
other components.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ae3EunFNHoFt5RTn1FaFtkoCwMokK3T9ks5uCZhpgaJpZM4U-Mvo>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash the commits :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, could you please make these minor changes? Thank you so much!
components/buybutton.js
Outdated
* @memberof BuyNow | ||
*/ | ||
|
||
clicked (){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function isn't required anymore.
components/buybutton.js
Outdated
export default class BuyNow extends React.PureComponent { | ||
/** | ||
* @typedef {object} BuyNowProps | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Property {function} onClick
pages/index.js
Outdated
@@ -51,10 +51,10 @@ export default class IndexPage extends React.PureComponent { | |||
))} | |||
</ul> | |||
</main> | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this change from your commit? You can ask in git_help in case you face an issue :)
No description provided.