// @ts-nocheck 'use client'; import { useRef, ReactNode } from 'react'; import { Provider } from 'react-redux'; import { makeStore } from '../redux/store'; export function ReduxProvider({ children }: { children: ReactNode }) { const storeRef = useRef | null>(null); if (!storeRef.current) { storeRef.current = makeStore(); } return {children}; }