Use functional component when possible
Fix some of (all the ones that do not use refs actually) the components listed on https://framagit.org/bnjbvr/kresus/issues/521.
Fix some of (all the ones that do not use refs actually) the components listed on https://framagit.org/bnjbvr/kresus/issues/521.