Outgrown / outgrown_fe

https://outgrown.vercel.app
0 stars 1 forks source link

Fix/detail btn #38

Closed AndrewCerveny closed 1 year ago

AndrewCerveny commented 1 year ago

What does this merge do? Check all that apply.

How has this been tested?

Npm start the proper combination was reflected on the page.

Description:

Briefly, but clearly describe what you did, and explain any new code. currently if a user was logged in and went into market place saw their clothing it would still give them the option to place item on to market place...

I added a conditional button that checked to see if the item was available then show already owned in a disabled btn format. else it would have the ability to add to the market place.

Issues:

Are there any concerns, issues, or bugs in this branch? If so describe them. There shouldn' be an issues. There might by cypress testing added to this unfortunately cypress will be continued to be added on. but the major upgrade was adding a condition to a new btn created in Detail.js.

Where to find Changes:

Files: ( there maybe cypress added but there will be a cypress branch fully fleshed out later) Btn funciton is in Details.js in the renderMethod. last Btn render conditional check on status Methods: line Numbers if possible:

Checklist