mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-09 03:37:45 +03:00
feat: adjust profile hero current game link not linking correctly
This commit is contained in:
parent
b965d3aa0e
commit
0f5c7af703
@ -254,6 +254,7 @@ export function ProfileHero() {
|
|||||||
if (gameRunning)
|
if (gameRunning)
|
||||||
return {
|
return {
|
||||||
...gameRunning,
|
...gameRunning,
|
||||||
|
objectId: gameRunning.objectID,
|
||||||
sessionDurationInSeconds: gameRunning.sessionDurationInMillis / 1000,
|
sessionDurationInSeconds: gameRunning.sessionDurationInMillis / 1000,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -330,7 +331,7 @@ export function ProfileHero() {
|
|||||||
<Link
|
<Link
|
||||||
to={buildGameDetailsPath({
|
to={buildGameDetailsPath({
|
||||||
...currentGame,
|
...currentGame,
|
||||||
objectId: currentGame.objectID,
|
objectId: currentGame.objectId,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{currentGame.title}
|
{currentGame.title}
|
||||||
|
Loading…
Reference in New Issue
Block a user