diff --git a/client/src/pages/home/index.jsx b/client/src/pages/home/index.jsx index bbddd3df..2504ba26 100644 --- a/client/src/pages/home/index.jsx +++ b/client/src/pages/home/index.jsx @@ -247,30 +247,14 @@ export default function Home() { setSelectedAffiliations([]); }; - const renderAffiliationsButtons = (selected) => ( + const renderButtons = (selected, fn) => ( <> {Object.values(status).map((st) => ( - ))} - - ); - - const renderWorksButtons = (selected) => ( - <> - {Object.values(status).map((st) => ( -