Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
chore: testing performance without polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
federicobadini committed Jan 29, 2024
1 parent 1f9c69d commit 41b474d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ export default function RootLayout({
as="fetch"
/>
{/* eslint-disable-next-line @next/next/no-before-interactive-script-outside-document */}
<Script
{/* <Script
src={`${polyfillDomain}/v3/polyfill.min.js?features=default,Intl.RelativeTimeFormat,Intl.RelativeTimeFormat.~locale.en,Object.fromEntries,ResizeObserver`}
strategy="beforeInteractive"
/>
/> */}
</head>
<body>
{children}
Expand Down
4 changes: 2 additions & 2 deletions frontend/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ class MyDocument extends Document {
href={`${IFIXIT_ORIGIN}/api/2.0/user`}
as="fetch"
/>
<Script
{/* <Script
src={`${polyfillDomain}/v3/polyfill.min.js?features=default,Intl.RelativeTimeFormat,Intl.RelativeTimeFormat.~locale.en,Object.fromEntries,ResizeObserver`}
strategy="beforeInteractive"
/>
/> */}
</Head>
<body>
<Main />
Expand Down

0 comments on commit 41b474d

Please sign in to comment.