sanity
Version:
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
12 lines (9 loc) • 341 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {CommentsSelectedPathContextValue} from '../../core/comments/context/selected-path/types'
/**
* @internal
*/
export const CommentsSelectedPathContext = createContext<CommentsSelectedPathContextValue | null>(
'sanity/_singletons/context/comments-selected-path',
null,
)