Skip to content

Commit 1355727

Browse files
committed
fix: param read
1 parent ddbf590 commit 1355727

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
@@ -6,7 +6,7 @@ defmodule ExplorerWeb.AggProofs.Index do
66
@page_size 15
77

88
@impl true
9-
def mount(_, params, socket) do
9+
def mount(params, _, socket) do
1010
current_page = get_current_page(params)
1111

1212
proofs =

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
@@ -9,7 +9,7 @@
99
<% end %>
1010
<div class="flex gap-x-2 items-center justify-center w-full">
1111
<%= if @current_page >= 2 do %>
12-
<.link navigate={~p"/batches?page=#{1}"}>
12+
<.link navigate={~p"/aggregated_proofs?page=#{1}"}>
1313
<.button class="text-muted-foreground group">
1414
First
1515
</.button>

0 commit comments

Comments
 (0)