mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-24 08:12:15 +00:00
# Which Problems Are Solved Invalid formatting in the login codebase due to invalid prettier configuration # How the Problems Are Solved Fxed .prettierignore wildcards for login source files # Additional Changes Removed .prettierrc file because there is already a prettier.config.mjs file # Additional Context
12 lines
325 B
TypeScript
12 lines
325 B
TypeScript
"use client";
|
|
import { ThemeProvider as ThemeP } from "next-themes";
|
|
import { ReactNode } from "react";
|
|
|
|
export function ThemeProvider({ children }: { children: ReactNode }) {
|
|
return (
|
|
<ThemeP attribute="class" defaultTheme="system" storageKey="cp-theme" value={{ dark: "dark" }}>
|
|
{children}
|
|
</ThemeP>
|
|
);
|
|
}
|