fix navigation

This commit is contained in:
2024-03-29 21:35:42 +01:00
parent c111723740
commit 859cce592b

View File

@ -73,7 +73,7 @@ defmodule SomethingErlangWeb.ThreadLive do
<%= for btn <- buttons(@thread) do %>
<.link
class={["btn btn-sm btn-ghost", btn.special]}
patch={~p"/thread/#{@thread.id}?page=#{btn.page}"}
navigate={~p"/thread/#{@thread.id}?page=#{btn.page}"}
>
<.label_button label={btn.label} page={btn.page} />
</.link>