import React, { createContext } from "react";
import { useJobProcessor } from "@/utils/atoms/queue";

const JobQueueContext = createContext(null);

export const JobQueueProvider: React.FC<{ children: React.ReactNode }> = ({
  children,
}) => {
  useJobProcessor();

  return (
    <JobQueueContext.Provider value={null}>{children}</JobQueueContext.Provider>
  );
};
