fix: move ts-expect-error inside navigate object to suppress search type error
All checks were successful
Build & Release / build (push) Successful in 1m6s

This commit is contained in:
Ryan Moon
2026-04-05 10:42:00 -05:00
parent 5750af83d8
commit 254fe0e5d5

View File

@@ -22,8 +22,8 @@ export function usePagination() {
}
function setParams(updates: Partial<PaginationSearch>) {
// @ts-expect-error: navigate without a route context resolves search as never; safe here since we use strict:false
navigate({
// @ts-expect-error: navigate without a route context resolves search as never; safe here since we use strict:false
search: (prev: any) => ({
...prev,
...updates,