We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa85510 commit 885872cCopy full SHA for 885872c
1 file changed
src/vdom/Helper.mjs
@@ -107,7 +107,7 @@ class Helper extends Base {
107
Object.entries(value).forEach(([key, value]) => {
108
const
109
oldValue = oldVnode.attributes[key],
110
- hasOldValue = Object.hasOwn(oldVnode.attributes, 'key');
+ hasOldValue = Object.hasOwn(oldVnode.attributes, key);
111
112
// If the attribute has an old value AND the value hasn't changed, skip.
113
if (hasOldValue && oldValue === value) {
0 commit comments