app/views/lookbook/previews/panels/_preview.html.erb in lookbook-1.0.8 vs app/views/lookbook/previews/panels/_preview.html.erb in lookbook-1.1.0
- old
+ new
@@ -1,5 +1,5 @@
-<%= render_component :viewport,
+<%= lookbook_render :viewport,
src: lookbook_preview_path(request.query_parameters.merge(lookbook_timestamp: Time.now)),
alpine_data: "$store.inspector.main",
class: "-inset-px relative",
style: "width: calc(100% + 2px); height: calc(100% + 2px)"
%>
\ No newline at end of file