diff --git a/app/index.tsx b/app/index.tsx index 82f7822624..ede59695e2 100644 --- a/app/index.tsx +++ b/app/index.tsx @@ -88,7 +88,6 @@ window.addEventListener("load", async () => { if (!env.GOOGLE_ANALYTICS_ID || !window.ga) { return; } - // https://github.com/googleanalytics/autotrack/issues/137#issuecomment-305890099 await import("autotrack/autotrack.js"); window.ga("require", "outboundLinkTracker"); diff --git a/patches/prop-types+15.8.1.patch b/patches/prop-types+15.8.1.patch deleted file mode 100644 index a6a0dd69b0..0000000000 --- a/patches/prop-types+15.8.1.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/node_modules/prop-types/index.js b/node_modules/prop-types/index.js -index e9ef51d..b68512a 100644 ---- a/node_modules/prop-types/index.js -+++ b/node_modules/prop-types/index.js -@@ -17,3 +17,6 @@ if (process.env.NODE_ENV !== 'production') { - // http://fb.me/prop-types-in-prod - module.exports = require('./factoryWithThrowingShims')(); - } -+ -+// ESM default export compatibility for bundlers like rolldown-vite -+module.exports.default = module.exports;