mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-18 16:38:38 +00:00
Ignore an eslint error (#351)
* Ignore an eslint error * Change the fix
This commit is contained in:
parent
147e812edb
commit
9d179c7227
@ -35,7 +35,7 @@ const App = () => {
|
||||
try {
|
||||
const recentTLSLinks = await api.getRecentTLSLinks();
|
||||
if (recentTLSLinks?.length > 0) {
|
||||
setAddressesWithTLS(new Set([...addressesWithTLS, ...recentTLSLinks]));
|
||||
setAddressesWithTLS(new Set(recentTLSLinks));
|
||||
setShowTLSWarning(true);
|
||||
}
|
||||
const auth = await api.getAuthStatus();
|
||||
@ -45,7 +45,7 @@ const App = () => {
|
||||
}
|
||||
|
||||
})();
|
||||
},[]);
|
||||
}, []);
|
||||
|
||||
const onTLSDetected = (destAddress: string) => {
|
||||
addressesWithTLS.add(destAddress);
|
||||
|
Loading…
Reference in New Issue
Block a user