Refactor ThemeProvider component: Simplify theme initialization logic by loading the theme from localStorage directly in the state hook, improving code clarity and reducing unnecessary effects. Update AdminPanel component by removing unused Link import, and fix button text encoding in EventsPageSection for proper display.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m1s

This commit is contained in:
Julien Froidefond
2025-12-15 10:18:24 +01:00
parent dcba162663
commit 9518eef3d4
3 changed files with 23 additions and 20 deletions

View File

@@ -521,7 +521,7 @@ export default function EventsPageSection({
)}
{getEventStatus(event) === "LIVE" && (
<Button variant="danger" size="md" className="w-full animate-pulse">
Connectez-vous à Teams, c'est maintenant !
Connectez-vous à Teams, c&apos;est maintenant !
</Button>
)}
{getEventStatus(event) === "PAST" && (
@@ -812,7 +812,7 @@ export default function EventsPageSection({
size="lg"
className="w-full animate-pulse"
>
Connectez-vous à Teams, c'est maintenant !
Connectez-vous à Teams, c&apos;est maintenant !
</Button>
</div>
)}