refactor: overview & stats to functional components

This commit is contained in:
alexsparkes
2024-05-29 11:24:32 +01:00
parent 2f5ef7f373
commit 4def9db23f
4 changed files with 256 additions and 301 deletions

View File

@@ -8,10 +8,11 @@ export default class Stats {
newAchievement.forEach((achievement) => {
if (achievement) {
const { name } = getLocalisedAchievementData(achievement.id);
toast.success(
toast.info(
`🏆 ${variables.getMessage('modals.main.settings.sections.stats.achievement_unlocked', { name: name })}`,
{
icon: false,
closeButton: false
},
);
}