fix: replace return null with empty tags

This commit is contained in:
2025-09-02 22:35:36 +02:00
parent ab0c5e3e99
commit 0689a5827f
9 changed files with 22 additions and 22 deletions

View File

@@ -9,7 +9,7 @@ export default function TodayEarnedCoins({ longFormat }: { longFormat?: boolean
const [settings] = useAtom(settingsAtom)
const { coinsEarnedToday } = useCoins()
if (coinsEarnedToday <= 0) return null
if (coinsEarnedToday <= 0) return <></>;
return (
<span className="text-md text-green-600 dark:text-green-400 font-medium mt-1">