Skip to content

Commit

Permalink
feat: make matches into links
Browse files Browse the repository at this point in the history
  • Loading branch information
zvonimirr committed Jun 16, 2024
1 parent 549aae7 commit a435a5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/swipex_web/live/profile_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ defmodule SwipexWeb.ProfileLive do
<% end %>
<%= for match <- @matches do %>
<div class="flex flex-col gap-3">
<p class="text-center"><%= match["name"] %></p>
<a href={"/chat/#{match["id"]}"} class="text-blue-400 hover:underline">
<%= match["name"] %>
</a>
</div>
<% end %>
</div>
Expand Down

0 comments on commit a435a5d

Please sign in to comment.