Closed bhavy3103 closed 1 month ago
@bhavy3103 is attempting to deploy a commit to the shivamsouravjha's projects Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
stock-frontend | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 11, 2024 7:16am |
apply filter on ISIN number to remove duplicate stocks in same mutual funds like this way in homepage.jsx file
// add filter on ISIN to remove duplicate stock setStockDetails((prevDetails) => { const uniqueStocks = [...prevDetails, stockDetail].filter( (stock, index, self) => index === self.findIndex((s) => s.ISIN === stock.ISIN) ) return uniqueStocks })