MCPcopy
hub / github.com/Waishnav/devspace / renderEmpty

Function renderEmpty

src/ui/workspace-app.tsx:212–216  ·  view source on GitHub ↗
(message: string, tone: "muted" | "error" = "muted")

Source from the content-addressed store, hash-verified

210}
211
212function renderEmpty(message: string, tone: "muted" | "error" = "muted"): void {
213 const main = element("main", { className: "shell" });
214 main.append(element("section", { className: `empty ${tone}`, text: message }));
215 appRoot.replaceChildren(main);
216}
217
218async function renderPayloadIfNeeded(): Promise<void> {
219 if (!card || !currentPayloadContainer || (!expanded && !isReviewTool(card.tool))) return;

Callers 1

renderFunction · 0.85

Calls 2

elementFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected