humblFINANCE / humblFINANCE-frontend

the official codebase for the humblFINANCE web app
https://humbl-finance-frontend.vercel.app
Other
2 stars 1 forks source link

[BUG]: No Watchlist Data Fetched if the Watchlist is empty #100

Closed jjfantini closed 1 month ago

jjfantini commented 2 months ago

Overview:

Current logic for collecting watchlist symbols is as follows: if the watchlist is empty nothing is fetched, but then if a watchlist is empty, the symbols from the previous watchlist remain there. There is no indication that the chosen watchlist is currently empty. There should be a notification the watchlist is empty and the table should be empty to represent that.

Tasks

  1. Add a Toast Notification "Selected Watchlist is Empty"
  2. Render an Empty Data Table that says "Watchlist is Empty. Please add Symbols."
  3. Adjust the logic in your UserTable.tsx component to ensure that the table renders even when there's no data

Resources

jjfantini commented 1 month ago

closed with #104