stubs/hotwire/app/components/modal_component.rb in kaze-0.10.0 vs stubs/hotwire/app/components/modal_component.rb in kaze-0.11.0

- old
+ new

@@ -6,9 +6,9 @@ sm: 'sm:max-w-sm', md: 'sm:max-w-md', lg: 'sm:max-w-lg', xl: 'sm:max-w-xl', '2xl': 'sm:max-w-2xl' - }[attributes[:max_width] || '2xl'] + }[(attributes[:max_width] || '2xl').to_sym] @attributes = attributes.without(:name, :show, :max_width) end end