diff --git a/components/Funders.jsx b/components/Funders.jsx index ba4499a..b8c5063 100644 --- a/components/Funders.jsx +++ b/components/Funders.jsx @@ -37,7 +37,27 @@ function Partners({ funders }) { return date.toLocaleDateString('en-GB', options); }; + const resetFilters = () => { + setFilteredFunders(funders); + setQuery(''); + }; + const renderFunders = () => { + if (filteredFunders.length === 0) { + return ( +