diff --git a/lib/wish_web/live/home_live/index.ex b/lib/wish_web/live/home_live/index.ex
index 0a9072d..51733c8 100644
--- a/lib/wish_web/live/home_live/index.ex
+++ b/lib/wish_web/live/home_live/index.ex
@@ -5,7 +5,7 @@ defmodule WishWeb.HomeLive.Index do
use Phoenix.Component
@impl true
- def mount(_params, session, socket) do
+ def mount(_params, _session, socket) do
items =
if socket.assigns.current_user do
Wishlist.list_visible_items()
@@ -51,7 +51,7 @@ defmodule WishWeb.HomeLive.Index do
~H"""
diff --git a/lib/wish_web/live/home_live/index.html.heex b/lib/wish_web/live/home_live/index.html.heex
index 70240a3..988ec94 100644
--- a/lib/wish_web/live/home_live/index.html.heex
+++ b/lib/wish_web/live/home_live/index.html.heex
@@ -15,12 +15,13 @@
-
+

<%= if item.received && !@current_user do %>
@@ -28,45 +29,49 @@
<% end %>
-
- <%= item.title %>
-
-
- <.icon
- name="hero-ellipsis-vertical"
- class="w-7 h-7 rounded-full hover:bg-purple-400 active:bg-purple-500"
- />
- <.dropdown item={item} />
-
- <%= if item.price do %>
+
+
+ <%= item.title %>
+
+ <%= if item.price do %>
+
+
+ Price:
+
+
+ ~£<%= item.price %>
+
+
+ <% end %>
+ <%= if item.description do %>
+
+
+ Description:
+
+
+ <%= item.description %>
+
+
+ <% end %>
- Price:
-
-
- ~£<%= item.price %>
+ Priority:
+
+ <%= for _ <- 1..item.desire do %>
+ <.icon name="hero-star" class="bg-red-500 text-red-500" />
+ <% end %>
+
- <% end %>
- <%= if item.description do %>
-
-
- Description:
-
-
- <%= item.description %>
-
+
+
+
+ <.icon
+ name="hero-ellipsis-vertical"
+ class="w-7 h-7 rounded-full hover:bg-purple-400 active:bg-purple-500"
+ />
+ <.dropdown item={item} />
- <% end %>
-
-
- Priority:
-
-
- <%= for _ <- 1..item.desire do %>
- <.icon name="hero-star" class="bg-red-500 text-red-500" />
- <% end %>
-