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:
@ -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>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user