feat: redoing page

This commit is contained in:
Zamitto
2024-10-18 01:00:29 -03:00
parent ea5b07a1ec
commit 2700f27d03
4 changed files with 50 additions and 38 deletions

View File

@@ -42,7 +42,9 @@ export const getGameAchievementData = async (
where: { objectId, shop },
})
.then((gameAchievements) => {
return JSON.parse(gameAchievements?.achievements || "[]");
return JSON.parse(
gameAchievements?.achievements || "[]"
) as AchievementData[];
});
});
};