organize ui

This commit is contained in:
Zamitto
2024-06-05 20:29:42 -03:00
parent 45d8923561
commit e8b28ccf90
5 changed files with 89 additions and 98 deletions

View File

@@ -11,8 +11,7 @@ const addGameToLibrary = async (
_event: Electron.IpcMainInvokeEvent,
objectID: string,
title: string,
shop: GameShop,
executablePath: string | null
shop: GameShop
) => {
return gameRepository
.update(
@@ -22,7 +21,6 @@ const addGameToLibrary = async (
{
shop,
status: null,
executablePath,
isDeleted: false,
}
)
@@ -42,7 +40,6 @@ const addGameToLibrary = async (
iconUrl,
objectID,
shop,
executablePath,
})
.then(() => {
if (iconUrl) {