mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 23:59:08 +00:00
Some checks failed
🤖 Android APK Build / 🏗️ Build Android APK (push) Has been cancelled
🤖 iOS IPA Build / 🏗️ Build iOS IPA (push) Has been cancelled
🔒 Lockfile Consistency Check / 🔍 Check bun.lock and package.json consistency (push) Has been cancelled
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (javascript-typescript) (push) Has been cancelled
🏷️🔀Merge Conflict Labeler / 🏷️ Labeling Merge Conflicts (push) Has been cancelled
🕒 Handle Stale Issues / 🗑️ Cleanup Stale Issues (push) Has been cancelled
16 lines
391 B
TypeScript
16 lines
391 B
TypeScript
import type React from "react";
|
|
import { 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>
|
|
);
|
|
};
|