Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Pallavi024
Copy link

No description provided.

@bogas04
Copy link
Collaborator

bogas04 commented Jul 2, 2018

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.

@Pallavi024
Copy link
Author

Pallavi024 commented Jul 2, 2018 via email

Copy link
Member

@0x48piraj 0x48piraj left a 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 :)

Copy link
Collaborator

@bogas04 bogas04 left a 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!

* @memberof BuyNow
*/

clicked (){
Copy link
Collaborator

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.

export default class BuyNow extends React.PureComponent {
/**
* @typedef {object} BuyNowProps
*
Copy link
Collaborator

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>

Copy link
Collaborator

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants