another update

This commit is contained in:
2025-07-24 00:48:27 +03:00
parent dfc8e21db1
commit e0217cbbcb
75 changed files with 5331 additions and 4457 deletions

View File

@@ -1,4 +1,4 @@
import { useState, useEffect } from 'react';
import { useState, useEffect } from "react";
// Shared cache and listeners
const gameImages: { [id: string]: string } = {};
@@ -27,6 +27,6 @@ export function useThumbnailURL(img: string) {
export function addThumbnail(id: string, url: string) {
gameImages[id] = url;
if (listeners[id]) {
listeners[id].forEach(cb => cb(url));
listeners[id].forEach((cb) => cb(url));
}
}
}