mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: catch error
This commit is contained in:
parent
813a46bf3e
commit
b0bc754ffc
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ const getTrendingGames = async (_event: Electron.IpcMainInvokeEvent) => {
|
|||
"/games/trending",
|
||||
{ language },
|
||||
{ needsAuth: false }
|
||||
);
|
||||
).catch(() => []);
|
||||
|
||||
return trendingGames;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue