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

Function syncUrlState

website/src/scripts/pages/instructions.ts:150–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148}
149
150function syncUrlState(): void {
151 updateQueryParams({
152 q: '',
153 extension: currentFilters.extensions,
154 sort: currentSort === 'title' ? '' : currentSort,
155 });
156}
157
158export async function initInstructionsPage(): Promise<void> {
159 const list = document.getElementById('resource-list');

Callers 1

initInstructionsPageFunction · 0.70

Calls 1

updateQueryParamsFunction · 0.90

Tested by

no test coverage detected