fixed bugs

This commit is contained in:
2025-11-23 20:29:31 +01:00
parent dab004a7b6
commit 993e0cd74b
2 changed files with 11 additions and 2 deletions

View File

@@ -1,8 +1,16 @@
"use client";
import { ChakraProvider, defaultSystem } from "@chakra-ui/react";
import { ColorModeProvider, type ColorModeProviderProps } from "./color-mode";
import type { ReactNode } from "react";
import * as React from "react";
export interface ColorModeProviderProps {
children: React.ReactNode;
}
export function ColorModeProvider({ children }: ColorModeProviderProps) {
// add real color-mode logic here if you need it
return <>{children}</>;
}
export function Provider({ children }: { children: ReactNode }) {
return (