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

@ -1,9 +1,12 @@
"use client";
import { ThemeProvider as NextThemesProvider } from "next-themes";
import { type ThemeProviderProps } from "next-themes/dist/types";
import { type ComponentProps } from "react";
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
export function ThemeProvider({
children,
...props
}: ComponentProps<typeof NextThemesProvider>) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}