MCPcopy Index your code
hub / github.com/github/awesome-copilot / renderItems

Function renderItems

website/src/scripts/pages/hooks.ts:64–69  ·  view source on GitHub ↗
(items: Hook[])

Source from the content-addressed store, hash-verified

62}
63
64function renderItems(items: Hook[]): void {
65 const list = document.getElementById('resource-list');
66 if (!list) return;
67
68 list.innerHTML = renderHooksHtml(items);
69}
70
71async function downloadHook(hookId: string, btn: HTMLButtonElement): Promise<void> {
72 const hook = allItems.find((item) => item.id === hookId);

Callers 1

applyFiltersAndRenderFunction · 0.70

Calls 1

renderHooksHtmlFunction · 0.90

Tested by

no test coverage detected