MCPcopy Create free account
hub / github.com/ResearAI/AutoFigure / getStoredAccessCodeRequired

Function getStoredAccessCodeRequired

frontend/components/settings-dialog.tsx:42–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40export const STORAGE_AI_MODEL_KEY = "next-ai-draw-io-ai-model"
41
42function getStoredAccessCodeRequired(): boolean | null {
43 if (typeof window === "undefined") return null
44 const stored = localStorage.getItem(STORAGE_ACCESS_CODE_REQUIRED_KEY)
45 if (stored === null) return null
46 return stored === "true"
47}
48
49export function SettingsDialog({
50 open,

Callers 1

SettingsDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected