js: eslints

This commit is contained in:
nahuhh
2025-03-26 23:01:30 +00:00
parent d15466f656
commit eeade736a4
18 changed files with 284 additions and 284 deletions

View File

@@ -847,7 +847,7 @@ const createIdentityTooltipContent = (identity) => {
`;
};
let tooltipIdsToCleanup = new Set();
const tooltipIdsToCleanup = new Set();
const cleanupTooltips = () => {
if (window.TooltipManager) {
@@ -1166,7 +1166,7 @@ const initializeTooltips = () => {
window.TooltipManager.cleanup();
let selector = '#' + state.currentTab + ' [data-tooltip-target]';
const selector = '#' + state.currentTab + ' [data-tooltip-target]';
const tooltipTriggers = document.querySelectorAll(selector);
const tooltipCount = tooltipTriggers.length;
if (tooltipCount > 50) {
@@ -1335,7 +1335,7 @@ const fetchBids = async () => {
throw new Error(`HTTP error! status: ${response.status}`);
}
let data = await response.json();
const data = await response.json();
//console.log('Received raw data:', data.length, 'bids');
state.filters.with_expired = includeExpired;

View File

@@ -989,7 +989,7 @@ const chartModule = {
}
chartModule.loadStartTime = Date.now();
const cacheKey = `chartData_${coinSymbol}_${window.config.currentResolution}`;
let cachedData = !forceRefresh ? CacheManager.get(cacheKey) : null;
const cachedData = !forceRefresh ? CacheManager.get(cacheKey) : null;
let data;
if (cachedData && Object.keys(cachedData.value).length > 0) {
data = cachedData.value;