Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
317 B
Raw Blame
"use client";

import { createContext, useContext } from "react";

/** Portaled editor controls remain part of the surface that owns the editor. */
export const EditorOverlayOwnerContext = createContext<string | undefined>(undefined);
export const useEditorOverlayOwner = () => useContext(EditorOverlayOwnerContext);