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