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

Commit

Permalink
Change search placeholder text (#299)
Browse files Browse the repository at this point in the history
* change placeholder text

* revert change
  • Loading branch information
igamigo authored Sep 28, 2023
1 parent b1f5d17 commit a41b853
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/starknet_explorer/utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ defmodule StarknetExplorer.Utils do
|> Enum.join(",")
end

@spec listener_atom(any) :: atom
def listener_atom(network) do
String.to_atom("listener_#{network}")
end
Expand Down
2 changes: 1 addition & 1 deletion lib/starknet_explorer_web/live/search.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule StarknetExplorerWeb.SearchLive do
type="text"
name="search-input"
value={@query}
placeholder="Search Blocks, Transactions, Classes, Messages, Contracts or Events"
placeholder="Search Blocks and Transactions (Classes, Messages, and Events coming soon!)"
/>
<button class="absolute top-1/2 right-2 transform -translate-y-1/2" type="submit">
<img src={~p"/images/search.svg"} />
Expand Down

0 comments on commit a41b853

Please sign in to comment.