From 5037e29b7e58c0bfc2a55d95109c3f17033f6e88 Mon Sep 17 00:00:00 2001 From: wooYeong <66763616+yeong30@users.noreply.github.com> Date: Sat, 28 Dec 2024 11:53:44 +0900 Subject: [PATCH] rename: src/lib/createElement.js Co-authored-by: Dowoon <90313504+devJayve@users.noreply.github.com> --- src/lib/createElement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/createElement.js b/src/lib/createElement.js index 7d603fb..cc018f8 100644 --- a/src/lib/createElement.js +++ b/src/lib/createElement.js @@ -32,7 +32,7 @@ export function createElement(vNode) { return $element; } -export const addAttirbutes = (element, key, value) => { +export const addAttributes = (element, key, value) => { if (key.startsWith("on")) { addEvent(element, getEventTypeFromProps(key), value); return;