mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-21 01:53:57 +00:00
feat: use await for firstSyncWithRemoteIfNeeded
This commit is contained in:
@@ -36,7 +36,11 @@ export function GameItem({ game }: GameItemProps) {
|
||||
(steamGenre) => steamGenre === genre
|
||||
);
|
||||
|
||||
if (index && steamGenres[language] && steamGenres[language][index]) {
|
||||
if (
|
||||
index !== undefined &&
|
||||
steamGenres[language] &&
|
||||
steamGenres[language][index]
|
||||
) {
|
||||
return steamGenres[language][index];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user