fix: last time played

This commit is contained in:
Zamitto 2024-06-20 22:07:23 -03:00
parent 519022525e
commit cee6f373eb

View File

@ -21,7 +21,7 @@ export const mergeWithRemoteGames = async () => {
localGame.lastTimePlayed == null ||
(game.lastTimePlayed &&
new Date(game.lastTimePlayed) > localGame.lastTimePlayed)
? new Date(game.lastTimePlayed)
? game.lastTimePlayed
: localGame.lastTimePlayed;
const updatedPlayTime =