diff --git a/src/frontend/screens/Game/GameSubMenu/index.tsx b/src/frontend/screens/Game/GameSubMenu/index.tsx index 04b0deb804..3845cd0b46 100644 --- a/src/frontend/screens/Game/GameSubMenu/index.tsx +++ b/src/frontend/screens/Game/GameSubMenu/index.tsx @@ -184,6 +184,11 @@ export default function GamesSubmenu({ } useEffect(() => { + // Check for game shortcuts on Steam + window.api.isAddedToSteam(appName, runner).then((added) => { + setAddedToSteam(added) + }) + if (!isInstalled) { return } @@ -193,11 +198,6 @@ export default function GamesSubmenu({ setHasShortcuts(added) }) - // Check for game shortcuts on Steam - window.api.isAddedToSteam(appName, runner).then((added) => { - setAddedToSteam(added) - }) - // only unix specific if (!isWin && runner === 'legendary') { // check if eos overlay is enabled @@ -263,18 +263,6 @@ export default function GamesSubmenu({ ? t('submenu.removeShortcut', 'Remove shortcuts') : t('submenu.addShortcut', 'Add shortcut')} - {steamRefresh ? ( - refreshCircle() - ) : ( - - )} + )}