diff --git a/lib/chiya_web/controllers/page_html/note.html.heex b/lib/chiya_web/controllers/page_html/note.html.heex index 20f5472..792553f 100644 --- a/lib/chiya_web/controllers/page_html/note.html.heex +++ b/lib/chiya_web/controllers/page_html/note.html.heex @@ -22,13 +22,7 @@ <%= if not Enum.empty?(@note.tags) do %> <.dot /> Tags - - <%= for tag <- @note.tags do %> - - <%= tag.name %> - - <% end %> - + <.tags note={@note} /> <% end %> <%= if @current_user do %> <.dot />