(location: ReturnType<typeof useLocation>, page: number)
| 53 | } |
| 54 | |
| 55 | function pageUrl(location: ReturnType<typeof useLocation>, page: number): string { |
| 56 | const search = new URLSearchParams(location.search); |
| 57 | |
| 58 | search.set("page", String(page)); |
| 59 | |
| 60 | return location.pathname + "?" + search.toString(); |
| 61 | } |
| 62 | |
| 63 | const baseClass = |
| 64 | "flex items-center justify-center border border-transparent h-8 w-8 text-xs font-medium transition text-text-dimmed rounded-sm"; |
no test coverage detected
searching dependent graphs…