Skip to contentOpen History to see the last commit
active-new-task.ts
9 lines230 Bytes
1import { createContext, use } from "react"; 3export const ActiveNewTaskContext = createContext<{ readonly pendingKey: string | null } | null>( 7export function useActiveNewTask() { 8 return use(ActiveNewTaskContext);