Skip to content

Commit 36311e2

Browse files
committed
fix: icon not showing on commit
1 parent 1efda56 commit 36311e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/librecov_web/live/repository_live/build_row.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ defmodule Librecov.RepositoryLive.BuildRow do
66
alias Surface.Components.Link
77
alias Librecov.RepositoryLive.CoverageDiff
88
alias Surface.Components.LiveRedirect
9+
alias Librecov.Common.Icon
910

1011
prop build, :struct, required: true
1112

@@ -36,7 +37,7 @@ defmodule Librecov.RepositoryLive.BuildRow do
3637
<span class="fw-semibold">
3738
{@build.commit_message}
3839
{#if @build.commit_sha}
39-
<Link to={commit_link(@build.project, @build.commit_sha)}><i class={"fab #{repository_class(@build.project)}"} /></Link>
40+
<Link to={commit_link(@build.project, @build.commit_sha)}><Icon family="fab" icon={repository_class(@build.project)} /></Link>
4041
{/if}
4142
</span>
4243
</td>

0 commit comments

Comments
 (0)