Skip to content

Commit

Permalink
vercel#30962 removed LoadCache check
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Bordin committed Nov 4, 2021
1 parent 5e99b7b commit 1c63a74
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/next/client/script.tsx
Expand Up @@ -41,11 +41,6 @@ const loadScript = (props: ScriptProps): void => {

const cacheKey = id || src

// Script has already loaded
if (cacheKey && LoadCache.has(cacheKey)) {
return
}

// Contents of this script are already loading/loaded
if (ScriptCache.has(src)) {
LoadCache.add(cacheKey)
Expand Down

0 comments on commit 1c63a74

Please sign in to comment.