Fix theme display

This commit is contained in:
Arthur Belleville 2025-03-27 08:46:32 +01:00
parent 71b2e8a1ee
commit bdbe79daa9
No known key found for this signature in database

View file

@ -113,7 +113,11 @@ export function Header() {
</svg>
)}
<span className="text-sm text-slate-600 dark:text-slate-400">
{theme === "dark" ? "Mode sombre" : "Mode clair"}
{theme === "dark"
? "Mode sombre"
: theme === "light"
? "Mode clair"
: "Mode système"}
</span>
</div>
</Switch>