diff --git a/app/views/chats/index.html.erb b/app/views/chats/index.html.erb index 8560ef97..ce60a0aa 100644 --- a/app/views/chats/index.html.erb +++ b/app/views/chats/index.html.erb @@ -16,6 +16,16 @@
<% if @chats.any? %>

Chats

+
+ <%= render LinkComponent.new( + text: "New chat", + icon: "plus", + variant: :primary, + href: new_chat_path, + frame: chat_frame, + class: "w-full justify-center" + ) %> +
<%= render @chats %>