src/applications/gi/components/search/SearchTabs.jsx
Function getTab
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getTab = (tabName, label) => {
const activeTab = tabName === tab;
const tabClasses = classNames(
{
'active-search-tab': activeTab,