<% end %>
<%= render @entry %>
-<%= render_social_share_buttons({
- :title => @entry.title,
- :url => diary_entry_url(@entry.user, @entry)
- }) %>
+<%= social_share_buttons(:title => @entry.title, :url => diary_entry_url(@entry.user, @entry)) %>
<div id="comments" class="comments mb-3 overflow-hidden">
<div class="row border-bottom border-secondary-subtle">