(newTabKey: string)
| 34 | }, [activeTabKey]); |
| 35 | |
| 36 | const handleTabChange = (newTabKey: string) => { |
| 37 | if (trackTabInUrl) { |
| 38 | setActiveTab(newTabKey, router); |
| 39 | } else { |
| 40 | setActiveTabState(newTabKey); |
| 41 | } |
| 42 | }; |
| 43 | |
| 44 | return ( |
| 45 | <> |
no test coverage detected