Skip to content

Commit

Permalink
misc: typo in var name (vercel#69745)
Browse files Browse the repository at this point in the history
```diff
- unmanged
+ unmanaged
```

Is annoying when searching for `unmanaged` in the file.
  • Loading branch information
devjiwonchoi authored Sep 5, 2024
1 parent 537f9cc commit 15900e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/next/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export class Head extends React.Component<HeadProps> {

// Unmanaged files are CSS files that will be handled directly by the
// webpack runtime (`mini-css-extract-plugin`).
let unmangedFiles: Set<string> = new Set([])
let unmanagedFiles: Set<string> = new Set([])
let dynamicCssFiles = Array.from(
new Set(dynamicImports.filter((file) => file.endsWith('.css')))
)
Expand All @@ -444,7 +444,7 @@ export class Head extends React.Component<HeadProps> {
dynamicCssFiles = dynamicCssFiles.filter(
(f) => !(existing.has(f) || sharedFiles.has(f))
)
unmangedFiles = new Set(dynamicCssFiles)
unmanagedFiles = new Set(dynamicCssFiles)
cssFiles.push(...dynamicCssFiles)
}

Expand All @@ -467,7 +467,7 @@ export class Head extends React.Component<HeadProps> {
)
}

const isUnmanagedFile = unmangedFiles.has(file)
const isUnmanagedFile = unmanagedFiles.has(file)
cssLinkElements.push(
<link
key={file}
Expand Down

0 comments on commit 15900e0

Please sign in to comment.