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

Function syncUrlState

website/src/scripts/pages/hooks.ts:203–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201}
202
203function syncUrlState(): void {
204 updateQueryParams({
205 q: '',
206 hook: [],
207 tag: currentFilters.tags,
208 sort: currentSort === 'title' ? '' : currentSort,
209 });
210}
211
212export async function initHooksPage(): Promise<void> {
213 const list = document.getElementById('resource-list');

Callers 1

initHooksPageFunction · 0.70

Calls 1

updateQueryParamsFunction · 0.90

Tested by

no test coverage detected