test(unit): add useTabs tests and refactor the hook

closes #2565

Refactored the useTabs-hook because it was rendering 3 times in case of all the useEffect and state handlings, which are not needed.

Edited by Michael Holst

Merge request reports

Loading
Loading