MCPcopy Index your code
hub / github.com/Waishnav/devspace / renderStatus

Function renderStatus

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

Source from the content-addressed store, hash-verified

310}
311
312function renderStatus(
313 container: HTMLElement,
314 message: string,
315 tone: "muted" | "error" = "muted",
316): void {
317 unmountCurrentPayload();
318 container.replaceChildren(element("div", { className: `status ${tone}`, text: message }));
319}
320
321function renderPrePayload(
322 container: HTMLElement,

Callers 1

renderPayloadIfNeededFunction · 0.85

Calls 2

unmountCurrentPayloadFunction · 0.85
elementFunction · 0.85

Tested by

no test coverage detected