From 549ea750c002c2c2ff5bf8462496cf23c0691691 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Mon, 23 Dec 2024 19:23:09 -0300 Subject: [PATCH] chore: sonar warnings --- .../src/pages/achievements/achievement-list.tsx | 10 +++++++--- .../src/pages/game-details/sidebar/sidebar.tsx | 4 ++-- .../src/pages/settings/settings-download-sources.tsx | 3 +-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/renderer/src/pages/achievements/achievement-list.tsx b/src/renderer/src/pages/achievements/achievement-list.tsx index 6e6944de..ef178b50 100644 --- a/src/renderer/src/pages/achievements/achievement-list.tsx +++ b/src/renderer/src/pages/achievements/achievement-list.tsx @@ -18,8 +18,12 @@ export function AchievementList({ achievements }: AchievementListProps) { return (
{achievement.displayName}
- {achievement.unlockTime && + {achievement.unlockTime != null && formatDateTime(achievement.unlockTime)}{achievement.displayName}
- {achievement.unlockTime && + {achievement.unlockTime != null && formatDateTime(achievement.unlockTime)}