-
Notifications
You must be signed in to change notification settings - Fork 21
fix: OneDollarStats script type module #1415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughUpdated the OneDollarStats component by removing a TypeScript error suppression in a params loop and modifying the analytics script tag in the Head to use type="module". Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Tagging OptionsShould a new tag be published when this PR is merged?
|
Docstrings generation was requested by @igorbrasileiro. * #1415 (comment) The following files were modified: * `website/components/OneDollarStats.tsx`
|
Note Generated docstrings for this pull request at #1416 |
What is this Contribution About?
Fixes analyticsScript script to not be render blocking request at pagespeed insight reports.
before: https://pagespeed.web.dev/analysis/https-storefront-deco-site/iin3vqwbni?form_factor=mobile

after: https://pagespeed.web.dev/analysis/https-sites-storefront--m5kd1f-decocdn-com/lhres7nu3v?form_factor=mobile

Summary by CodeRabbit