Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
reset tx filter when changing tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago Pittella authored and Santiago Pittella committed Nov 10, 2023
1 parent 34d43a4 commit c3129de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/starknet_explorer_web/live/pages/block_detail.ex
Original file line number Diff line number Diff line change
Expand Up @@ -329,14 +329,11 @@ defmodule StarknetExplorerWeb.BlockDetailLive do
%{"view" => "transactions"},
socket
) do
filter = Map.get(socket.assigns, :tx_filter, "ALL")

page =
Transaction.paginate_txs_by_block_number(
%{page: 0},
socket.assigns.block.number,
socket.assigns.network,
filter
socket.assigns.network
)

assigns = [
Expand Down

0 comments on commit c3129de

Please sign in to comment.