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
10 lines (7 loc) • 313 B
text/typescript
import {type ComponentType} from 'react'
import {usePathSyncChannel} from '../hooks/usePathSyncChannel'
import {type PathSyncChannelProps} from '../types/pathSyncChannel'
export const PathSyncChannelSubscriber: ComponentType<PathSyncChannelProps> = (props) => {
usePathSyncChannel(props)
return undefined
}