Remove duplicates in UI (jscpd)
In current version, pre-commit fails on jscpd:
Clone found (jsx):
- /home/bruno/git/laboite/app/imports/ui/pages/groups/EventsPage.jsx [192:25 - 218:24] (26 lines, 241 tokens) /home/bruno/git/laboite/app/imports/ui/pages/groups/PollPage.jsx [138:25 - 164:21]
Clone found (jsx):
- /home/bruno/git/laboite/app/imports/ui/pages/groups/AddressBook.jsx [115:25 - 138:5] (23 lines, 270 tokens) /home/bruno/git/laboite/app/imports/ui/pages/groups/PollPage.jsx [96:19 - 119:5]
Clone found (jsx):
- /home/bruno/git/laboite/app/imports/ui/components/admin/AdminServicesTable.jsx [19:11 - 83:2] (64 lines, 568 tokens) /home/bruno/git/laboite/app/imports/ui/pages/admin/AdminServicesPage.jsx [25:13 - 88:2]
Clone found (jsx):
- /home/bruno/git/laboite/app/imports/ui/components/admin/AdminServicesTable.jsx [87:18 - 117:14] (30 lines, 306 tokens) /home/bruno/git/laboite/app/imports/ui/pages/admin/AdminServicesPage.jsx [93:10 - 122:14]
ERROR: jscpd found too many duplicates (0.36%) over threshold (0.2%)