diff --git a/lib/cannery_web/live/component/topbar.html.leex b/lib/cannery_web/live/component/topbar.html.leex index 63642d34..bbf61e9e 100644 --- a/lib/cannery_web/live/component/topbar.html.leex +++ b/lib/cannery_web/live/component/topbar.html.leex @@ -56,8 +56,9 @@ <%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
  • - <%= link "LiveDashboard", class: "hover:underline", - to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) %> + <%= link to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) do %> + + <% end %>
  • <% end %> <% else %> diff --git a/lib/cannery_web/templates/layout/topbar.html.eex b/lib/cannery_web/templates/layout/topbar.html.eex index 53fbf6ca..6d327119 100644 --- a/lib/cannery_web/templates/layout/topbar.html.eex +++ b/lib/cannery_web/templates/layout/topbar.html.eex @@ -17,13 +17,6 @@ <% end %> - - <%= if function_exported?(Routes, :live_dashboard_path, 2) do %> -
  • - <%= link "LiveDashboard", class: "hover:underline", - to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) %> -
  • - <% end %> <% else %>
  • <%= link "Register", class: "hover:underline",