This code looks correct and works fine for me - if you’re still hitting this after npx shop-minis upgrade can you:
- show me the output of
npx shop-minis build - supply more details from here Shop Minis Support Template - Required for all issue reports