MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getPanel

Function getPanel

src/components/referencesPanel/index.js:311–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

309let panelSingleton = null;
310
311function getPanel() {
312 if (!panelSingleton) {
313 panelSingleton = createReferencesPanel();
314 }
315 return panelSingleton;
316}
317
318export function showReferencesPanel(options) {
319 const panel = getPanel();

Callers 3

showReferencesPanelFunction · 0.85
hideReferencesPanelFunction · 0.85
index.jsFile · 0.85

Calls 1

createReferencesPanelFunction · 0.85

Tested by

no test coverage detected