* Chore disable git submodule for web-client and app-backend * Chore add newest source code of app-backend and web-client --------- Co-authored-by: Hien To <tominhhien97@gmail.com>
17 lines
318 B
TypeScript
17 lines
318 B
TypeScript
"use client";
|
|
|
|
import { ThemeProvider } from "next-themes";
|
|
import { ReactNode } from "react";
|
|
|
|
type Props = {
|
|
children: ReactNode;
|
|
};
|
|
|
|
export const ThemeWrapper: React.FC<Props> = ({ children }) => {
|
|
return (
|
|
<ThemeProvider enableSystem={true} attribute="class">
|
|
{children}
|
|
</ThemeProvider>
|
|
);
|
|
};
|