fixup for null availability rows while loading
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s Details

This commit is contained in:
Ladd Hoffman 2024-03-16 21:45:44 -05:00
parent f215570a1e
commit bbaa0faf72
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ function AvailabilityStakes({ showActions, showAmount, onlyShowAvailable }) {
}, [work1, account]);
const displayData = availabilityStakes.filter((stake) => {
if (!stake) return false;
if (!onlyShowAvailable) return true;
if (getAvailabilityStatus(stake) === 'Available') return true;
return false;