Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaperDebugger/paperdebugger
/ useAdapterOptional
Function
useAdapterOptional
webapp/_webapp/src/adapters/context.tsx:37–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
* Hook to safely access the document adapter (returns null if not available)
36
*/
37
export function useAdapterOptional(): DocumentAdapter | null {
38
return useContext(AdapterContext);
39
}
Callers
3
TextPatches
Function · 0.90
AccountSettings
Function · 0.90
Login
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected