Unverified Commit 9d179c72 authored by M. Mert Yıldıran's avatar M. Mert Yıldıran Committed by GitHub
Browse files

Ignore an eslint error (#351)

* Ignore an eslint error

* Change the fix
parent 147e812e
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment