"use client"; import { createContext } from "react"; import { useBrainState } from "./hooks/useBrainState"; import { BrainContextType } from "./types"; export const BrainContext = createContext( undefined ); export const BrainProvider = ({ children, }: { children: React.ReactNode; }): JSX.Element => { const brainState = useBrainState(); return ( {children} ); };