Hadiasemi / Crypto-Tracker

0 stars 2 forks source link

Implement Controls for Adding and Removing Watchlist Items #28

Closed jinyung2 closed 3 years ago

jinyung2 commented 3 years ago

Estimate: 2 hours

Need buttons somewhere on the page for a user adding and removing a particular crypto from the watchlist.

This needs to validate to make sure they are not adding an item that already exists (uniqueness of a db entry based on id possibly) and must hit endpoints provided by the backend to add or remove from the DB.

jinyung2 commented 3 years ago

Time Spent: 2 hours Added a 'Add to WatchList' button on the header of the graph area, made it responsive

working on creating watchlist component to add a delete button which will call the removefromWatchlist fn.