diff --git a/lib/plausible_web/live/sites.ex b/lib/plausible_web/live/sites.ex
index 93fea5b66..7f5dd1d93 100644
--- a/lib/plausible_web/live/sites.ex
+++ b/lib/plausible_web/live/sites.ex
@@ -6,6 +6,8 @@ defmodule PlausibleWeb.Live.Sites do
use Phoenix.LiveView
use Phoenix.HTML
+ import PlausibleWeb.Components.Generic
+
alias Plausible.Auth
alias Plausible.Repo
alias Plausible.Site.Memberships.Invitations
@@ -37,41 +39,7 @@ defmodule PlausibleWeb.Live.Sites do
class="container pt-6"
>
- To access the sites you own, you need to subscribe to a monthly or yearly payment plan. <%= link( - "Upgrade now →", - to: "/settings", - class: "text-sm font-medium text-yellow-800" - ) %> -
-You don't have any sites yet
- <% end %> ++ You don't have any sites yet +
<%= for invitation <- @invitations do %> -+ To access the sites you own, you need to subscribe to a monthly or yearly payment plan. <%= link( + "Upgrade now →", + to: "/settings", + class: "text-sm font-medium text-yellow-800" + ) %> +
+