()
| 10 | const router = useRouter(); |
| 11 | |
| 12 | const handleNavigation = () => { |
| 13 | // Calculate the new limit based on the page number and navigation type |
| 14 | const newLimit = (pageNumber + 1) * 10; |
| 15 | |
| 16 | // Update the "limit" search parameter in the URL with the new value |
| 17 | const newPathname = updateSearchParams("limit", `${newLimit}`); |
| 18 | |
| 19 | router.push(newPathname); |
| 20 | }; |
| 21 | |
| 22 | return ( |
| 23 | <div className="w-full flex-center gap-5 mt-10"> |
nothing calls this directly
no test coverage detected