mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-04 03:56:17 +00:00
space
This commit is contained in:
@@ -30,6 +30,7 @@ export const AutoRepresentation: React.FC<any> = ({ representation, color, defau
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
const [currentTab, setCurrentTab] = useState(TABS[0].tab);
|
const [currentTab, setCurrentTab] = useState(TABS[0].tab);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setCurrentTab(TABS[tabSelectedRef.current].tab)
|
setCurrentTab(TABS[tabSelectedRef.current].tab)
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
Reference in New Issue
Block a user