"use client"; import { createContext, useContext, useState } from "react"; import type { PredictionTheme } from "@/features/predictions/domain/prediction-theme"; type PredictionThemeContextValue = { theme: PredictionTheme; setTheme: (theme: PredictionTheme) => void; }; const PredictionThemeContext = createContext({ theme: "boy", setTheme: () => {}, }); export function PredictionThemeProvider({ children, }: { children: React.ReactNode; }) { const [theme, setTheme] = useState("boy"); return ( {children} ); } export function usePredictionTheme() { return useContext(PredictionThemeContext); }