app/views/lookbook/inspector/panels/_preview.html.erb in lookbook-2.0.0.beta.4 vs app/views/lookbook/inspector/panels/_preview.html.erb in lookbook-2.0.0.beta.5
- old
+ new
@@ -1,6 +1,7 @@
<div class="overflow-hidden h-full w-full">
<%= lookbook_render :viewport,
+ key: (lookbook_preview_path(request.query_parameters).parameterize unless Rails.env.test?),
iframe_id: "preview-iframe",
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