]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(hydration): reuse existing variable (#13412)
authorskirtle <65301168+skirtles-code@users.noreply.github.com>
Fri, 30 May 2025 06:43:23 +0000 (07:43 +0100)
committerGitHub <noreply@github.com>
Fri, 30 May 2025 06:43:23 +0000 (14:43 +0800)
packages/runtime-core/src/hydration.ts

index 6ffdbc68de4109816bd2c4fa2dd1dcfcc018d4e3..12813b598b54d1f5169a44fbfcc363792864050d 100644 (file)
@@ -997,6 +997,6 @@ function isMismatchAllowed(
     if (allowedType === MismatchTypes.TEXT && list.includes('children')) {
       return true
     }
-    return allowedAttr.split(',').includes(MismatchTypeString[allowedType])
+    return list.includes(MismatchTypeString[allowedType])
   }
 }