app/components/lookbook/header/component.html.erb in lookbook-2.0.2 vs app/components/lookbook/header/component.html.erb in lookbook-2.0.3
- old
+ new
@@ -39,17 +39,17 @@
<% button.with_dropdown.with_content(menu) %>
<% end %>
<% end %>
<% group.with_button icon: :menu,
- "@click.stop": "toggleSidebar",
+ "x-on:click.stop": "toggleSidebar",
"x-show": "$store.layout.mobile && sidebarHidden",
class: "!text-lookbook-header-text" %>
<% group.with_button icon: :x,
- "@click.stop": "toggleSidebar",
+ "x-on:click.stop": "toggleSidebar",
"x-show": "$store.layout.mobile && !sidebarHidden",
- "@keydown.esc.window": "closeMobileSidebar",
+ "x-on:keydown.esc.window": "closeMobileSidebar",
class: "!text-lookbook-header-text" %>
<% end %>
<% end %>
<% end %>
\ No newline at end of file