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

interface SessionContextType {
  sessionId: string;
  setSessionId: React.Dispatch<React.SetStateAction<string>>;
}
const SessionContext = createContext<SessionContextType>(
  {} as SessionContextType,
);

export const useSession = () => useContext(SessionContext);

export { SessionContext };
