mix format

This commit is contained in:
2022-11-07 13:49:31 +01:00
parent 51b9cc7f76
commit 0e74b0e1e0
16 changed files with 137 additions and 110 deletions

View File

@ -15,6 +15,7 @@ defmodule SomethingErlangWeb.BookmarksLive.Show do
@impl true
def handle_params(%{"page" => page}, _, socket) do
bookmarks = Grover.get_bookmarks!(page |> String.to_integer())
{:noreply,
socket
|> assign(:page_title, "bookmarks")
@ -23,8 +24,9 @@ defmodule SomethingErlangWeb.BookmarksLive.Show do
@impl true
def handle_params(_, _, socket) do
{:noreply, push_redirect(socket,
to: Routes.bookmarks_show_path(socket, :show, page: 1))}
{:noreply,
push_redirect(socket,
to: Routes.bookmarks_show_path(socket, :show, page: 1)
)}
end
end