'use client';
import { createContext, useContext } from 'react';

const ProjectContext = createContext<any>(null);

export function ProjectProvider({ children, value }: { children: React.ReactNode, value: any }) {
  return <ProjectContext.Provider value={value}>{children}</ProjectContext.Provider>;
}

export const useSharedData = () => useContext(ProjectContext);