Despite the data being available, the donations table on the pot page contains no items until the search is triggered. The DonationsTable component currently uses useOrderedDonations hook, which is the part of the issue, as it contains too much state overhead and relies on a deprecated fetcher wrapped in useEffect and must be refactored around an indexer API query hook for pot donations that needs to be created for the pot donations endpoint
Despite the data being available, the donations table on the pot page contains no items until the search is triggered. The
DonationsTable
component currently usesuseOrderedDonations
hook, which is the part of the issue, as it contains too much state overhead and relies on a deprecated fetcher wrapped inuseEffect
and must be refactored around an indexer API query hook for pot donations that needs to be created for the pot donations endpoint