fix: fixing code quality issues

This commit is contained in:
Chubby Granny Chaser
2025-11-29 02:40:52 +00:00
parent 1fc87f93b7
commit 8e3a932aa4
2 changed files with 2 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ export function useSearchSuggestions(
setIsLoading(true);
try {
const response = await globalThis.electron.hydraApi.get<
const response = await window.electron.hydraApi.get<
{
title: string;
objectId: string;

View File

@@ -151,6 +151,7 @@ export function RepacksModal({
};
return levelDBService.put(gameKey, updated, "games");
}
return Promise.resolve();
})
.catch(() => {});