Fix icon memory issue (#19162)

This commit is contained in:
Ben Halpern 2023-02-21 08:10:22 -05:00 committed by GitHub
parent 2a694df21a
commit 76dd53d874
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
<div class="multiple_reactions_engagement"> <div class="multiple_reactions_engagement">
<% ReactionCategory.for_view.each do |reaction_type| %> <% ReactionCategory.for_view.each do |reaction_type| %>
<span class="reaction_engagement_<%= reaction_type.slug %> hidden"> <span class="reaction_engagement_<%= reaction_type.slug %> hidden">
<%= image_tag reaction_type.icon, size: "24x24" %> <%= image_tag "#{reaction_type.icon}.svg", size: "24x24" %>
<span id="reaction_engagement_<%= reaction_type.slug %>_count">&nbsp;</span> <span id="reaction_engagement_<%= reaction_type.slug %>_count">&nbsp;</span>
</span> </span>
<% end %> <% end %>