CE-2952: Addressing security hotspots and code smells (sonarqube)
Refactoring and modifications.
Read more about the errors here: https://sonarqube.esss.lu.se/dashboard?branch=develop&id=eu.ess.ics%3Ace-deploy-ui
This MR is now dependent on this MR from common: ce-ui-common!154 (merged)
Before merge:
- Deploy to test/demo and make sure nothing is crashing
- Merge common branch and integrate
Follow-ups:
- Implement this function wherever we use the React key prop
- Add typing for modules coming from common in “typings.d.ts” to fix syntax highlighting & more
Edited by Max Frederiksen