mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adjust profile hero current game link not linking correctly
This commit is contained in:
parent
b965d3aa0e
commit
0f5c7af703
1 changed files with 2 additions and 1 deletions
|
@ -254,6 +254,7 @@ export function ProfileHero() {
|
|||
if (gameRunning)
|
||||
return {
|
||||
...gameRunning,
|
||||
objectId: gameRunning.objectID,
|
||||
sessionDurationInSeconds: gameRunning.sessionDurationInMillis / 1000,
|
||||
};
|
||||
|
||||
|
@ -330,7 +331,7 @@ export function ProfileHero() {
|
|||
<Link
|
||||
to={buildGameDetailsPath({
|
||||
...currentGame,
|
||||
objectId: currentGame.objectID,
|
||||
objectId: currentGame.objectId,
|
||||
})}
|
||||
>
|
||||
{currentGame.title}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue