Skip to content

Commit

Permalink
removes dead code and fixes test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
sdellis committed Feb 26, 2025
1 parent 163ac54 commit 2f67351
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/dpul_collections_web/live/browse_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,10 @@ defmodule DpulCollectionsWeb.BrowseLive do
|> Enum.with_index()
end

def thumb(assigns = %{thumb: nil}) do
~H"""
"""
end

def thumb(assigns) do
~H"""
<img
class="border border-solid border-gray-400"
class="thumbnail border border-solid border-gray-400"
src={"#{@thumb}/square/350,350/0/default.jpg"}
alt="thumbnail image"
style="
Expand Down

0 comments on commit 2f67351

Please sign in to comment.