Convert from class to functional component regd

[UI] Convert `/management/index.js` from class based functional component · Issue #8676 · meshery/meshery · GitHub.
I’m working on the above issue.Whether for this issue we need to use React hooks?.Or whether simply need to convert from class to functional component for the fix.

Hi… I am a newcomer. If the issue can be fixed simply by converting the class component to a functional component without any change in state management or lifecycle methods, then you may not need to use React hooks.
if your class component has a state, and you want to retain and manage that state in the functional component, using hooks is a recommended approach. However, if your functional component doesn’t need to manage state, you may not need hooks.
Maybe I am wrong correct me.?