Corrections pour le build APK admin

- Ajout de updatedAt manquant dans la création de client
- Correction de l'import ThemeProvider (next-themes)
- Correction du size icon dans ThemeToggle
- Exclusion temporaire des routes API pendant le build
- Build APK admin réussi
This commit is contained in:
2025-11-23 17:13:47 +01:00
parent 0247f6ed9d
commit 61c1f47409
9 changed files with 26 additions and 235 deletions

View File

@ -17,8 +17,8 @@ export function ThemeToggle() {
return (
<Button
variant="ghost"
size="icon"
className="h-9 w-9 rounded-full"
size="sm"
className="h-9 w-9 rounded-full p-0"
aria-label="Changer de thème"
>
<Sun className="h-5 w-5" />
@ -29,9 +29,9 @@ export function ThemeToggle() {
return (
<Button
variant="ghost"
size="icon"
size="sm"
onClick={() => setTheme(theme === "dark" ? "light" : "dark")}
className="h-10 w-10 rounded-full hover:bg-secondary dark:hover:bg-gray-800"
className="h-10 w-10 rounded-full hover:bg-secondary dark:hover:bg-gray-800 p-0"
aria-label="Changer de thème"
>
{theme === "dark" ? (