following-the-rules-of-hooks

Fix React Rules of Hooks violations - conditional calls, hooks in loops/callbacks/classes