Skip to content

Commit

Permalink
Remove double display class from the ui/toast component
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Oct 23, 2023
1 parent 0871724 commit efba3a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div
class="
flex items-center justify-between
rounded inline-block px-3 py-2
rounded px-3 py-2
transform translate-y-full opacity-0 transition-all duration-500
<%= SCHEMES.fetch(@scheme.to_sym).join(' ') %>
"
Expand Down
2 changes: 1 addition & 1 deletion admin/app/components/solidus_admin/ui/toast/component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ class SolidusAdmin::UI::Toast::Component < SolidusAdmin::BaseComponent
def initialize(text:, icon: nil, scheme: :default)
@text = text
@icon = icon
@scheme = scheme.to_sym
@scheme = scheme
end
end

0 comments on commit efba3a5

Please sign in to comment.