import { createContext, useContext } from "react";

const CombinedPageContext = createContext(false);

export function useCombinedPage() {
  return useContext(CombinedPageContext);
}

export function CombinedPageProvider({ children }: { children: React.ReactNode }) {
  return (
    <CombinedPageContext.Provider value={true}>
      {children}
    </CombinedPageContext.Provider>
  );
}
