@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 9 lines 230 Bytes
Raw
1 import { createContext, use } from "react";
2
3 export const ActiveNewTaskContext = createContext<{ readonly pendingKey: string | null } | null>(
4 null,
5 );
6
7 export function useActiveNewTask() {
8 return use(ActiveNewTaskContext);
9 }