From 15900e0befe11827f0c3446b0f84a2db26ac352f Mon Sep 17 00:00:00 2001 From: Jiwon Choi Date: Fri, 6 Sep 2024 02:19:34 +0900 Subject: [PATCH] misc: typo in var name (#69745) ```diff - unmanged + unmanaged ``` Is annoying when searching for `unmanaged` in the file. --- packages/next/src/pages/_document.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/next/src/pages/_document.tsx b/packages/next/src/pages/_document.tsx index 5b8bd7bb62829..97ae7b62b783a 100644 --- a/packages/next/src/pages/_document.tsx +++ b/packages/next/src/pages/_document.tsx @@ -435,7 +435,7 @@ export class Head extends React.Component { // Unmanaged files are CSS files that will be handled directly by the // webpack runtime (`mini-css-extract-plugin`). - let unmangedFiles: Set = new Set([]) + let unmanagedFiles: Set = new Set([]) let dynamicCssFiles = Array.from( new Set(dynamicImports.filter((file) => file.endsWith('.css'))) ) @@ -444,7 +444,7 @@ export class Head extends React.Component { dynamicCssFiles = dynamicCssFiles.filter( (f) => !(existing.has(f) || sharedFiles.has(f)) ) - unmangedFiles = new Set(dynamicCssFiles) + unmanagedFiles = new Set(dynamicCssFiles) cssFiles.push(...dynamicCssFiles) } @@ -467,7 +467,7 @@ export class Head extends React.Component { ) } - const isUnmanagedFile = unmangedFiles.has(file) + const isUnmanagedFile = unmanagedFiles.has(file) cssLinkElements.push(