From 3c6c1cfd4b169b8129d04c1750d8d5add922858f Mon Sep 17 00:00:00 2001 From: kfule Date: Wed, 30 Oct 2024 18:38:03 +0900 Subject: [PATCH] remove unused parameter --- render/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/render.js b/render/render.js index 578974cdd..a31d19346 100644 --- a/render/render.js +++ b/render/render.js @@ -675,7 +675,7 @@ module.exports = function() { setAttr(vnode, key, null, attrs[key], ns) } } - function setAttr(vnode, key, old, value, ns, isFileInput) { + function setAttr(vnode, key, old, value, ns) { if (key === "key" || key === "is" || value == null || isLifecycleMethod(key) || (old === value && !isFormAttribute(vnode, key)) && typeof value !== "object") return if (key[0] === "o" && key[1] === "n") return updateEvent(vnode, key, value) if (key.slice(0, 6) === "xlink:") vnode.dom.setAttributeNS("http://www.w3.org/1999/xlink", key.slice(6), value)