From: skirtle <65301168+skirtles-code@users.noreply.github.com> Date: Fri, 30 May 2025 06:43:23 +0000 (+0100) Subject: chore(hydration): reuse existing variable (#13412) X-Git-Tag: v3.5.17~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e53a4ffbe0264b06971090fcaf0d8b2201478e29;p=thirdparty%2Fvuejs%2Fcore.git chore(hydration): reuse existing variable (#13412) --- diff --git a/packages/runtime-core/src/hydration.ts b/packages/runtime-core/src/hydration.ts index 6ffdbc68de..12813b598b 100644 --- a/packages/runtime-core/src/hydration.ts +++ b/packages/runtime-core/src/hydration.ts @@ -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]) } }