Horizon 3.4.0 - fly-to-cart.js is added 2 times on product pages

Short description of issue

Duplicate load of fly-to-cart.js (lines 150 & 255 in snippets/scripts.liquid).

Reproduction steps

snippets/scripts.liquid
150
[script
src=“{{ ‘fly-to-cart.js’ | asset_url }}”
type=“module”
fetchpriority=“low”
][/script]

255
{% if template == ‘product’ or template.name == ‘product’ or request.page_type == ‘product’ %}
[script
src=“{{ ‘fly-to-cart.js’ | asset_url }}”
type=“module”
fetchpriority=“low”
][/script]

Additional info

Only general one on line 150 should be left, the one that is loaded on product pages (line 255) can be removed

What type of topic is this

Bug report

Nice catch. Just an FYI, this should be harmless given ‘type=module’!