{FILTERS.map((f) => {
const count = f.status ? bounties.filter((b) => b.status === f.status).length : bounties.length;
@@ -73,7 +122,7 @@ export function BountyList() {
)}
{state.status === "error" &&
}
{state.status === "success" &&
- (shown.length === 0 ? (
+ (searched.length === 0 ? (
bounties.length === 0 ? (
@@ -95,12 +144,14 @@ export function BountyList() {
+ ) : query ? (
+
{`No bounties match “${urlQuery.trim()}”${filter.status ? ` in ${filter.label.toLowerCase()}` : ""}.`}
) : (
{`No ${filter.label.toLowerCase()} bounties right now.`}
)
) : (
- {shown.map((b) => (
+ {searched.map((b) => (
))}