diff --git a/src/components/blocs/modification-journal/index.js b/src/components/blocs/modification-journal/index.js index b032ca86..c91a80b5 100644 --- a/src/components/blocs/modification-journal/index.js +++ b/src/components/blocs/modification-journal/index.js @@ -54,29 +54,26 @@ export default function ModificationJournal() { Journal des modifications - <> + {sortedUniqueUserNames.map((userName) => { const modificationsCount = data?.data?.filter( (el) => `${el.user.firstName} ${el.user.lastName}` === userName, ).length; - return ( - - handleUserFilter(userName)} - selected={selectedUser === userName} - className="no-span" - > - {userName} - {' '} - ( - {modificationsCount} - ) - - + handleUserFilter(userName)} + selected={selectedUser === userName} + className="no-span" + > + {userName} + {' '} + ( + {modificationsCount} + ) + ); })} - +