app/views/lookbook/components/_icon.html.erb in lookbook-0.6.1 vs app/views/lookbook/components/_icon.html.erb in lookbook-0.7.0
- old
+ new
@@ -1,5 +1,5 @@
-<i class="transition block flex-none leading-none w-<%= size %> h-<%= size %> <%= classes %>">
+<i class="transition block flex-none leading-none w-<%= size %> h-<%= size %> <%= classes ||= "" %>">
<svg class="feather w-full h-full">
- <use :href="`/lookbook-assets/feather-sprite.svg#<%= name %>`" x-cloak />
+ <use :href="`/lookbook-assets/feather-sprite.svg#<%= name.to_s %>`" x-cloak />
</svg>
</i>
\ No newline at end of file