Skip to content

Commit ddbf590

Browse files
committed
fix: explorer aggregated proofs pagination
1 parent 83576e3 commit ddbf590

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

explorer/lib/explorer_web/live/pages/agg_proofs/index.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ defmodule ExplorerWeb.AggProofs.Index do
3131

3232
@impl true
3333
def handle_event("change_page", %{"page" => page}, socket) do
34-
{:noreply, push_navigate(socket, to: ~p"/batches?page=#{page}")}
34+
{:noreply, push_navigate(socket, to: ~p"/aggregated_proofs?page=#{page}")}
3535
end
3636

3737
defp get_current_page(params) do

explorer/lib/explorer_web/live/pages/agg_proofs/index.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<span class="sr-only">Next Page</span>
5555
</.button>
5656
</.link>
57-
<.link navigate={~p"/batches?page=#{@last_page}"}>
57+
<.link navigate={~p"/aggregated_proofs?page=#{@last_page}"}>
5858
<.button class="text-muted-foreground group">
5959
Last
6060
</.button>

0 commit comments

Comments
 (0)