Skip to content

Commit

Permalink
�rename: src/lib/createElement.js
Browse files Browse the repository at this point in the history
Co-authored-by: Dowoon <[email protected]>
  • Loading branch information
yeong30 and devJayve authored Dec 28, 2024
1 parent 635d855 commit 5037e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/createElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5037e29

Please sign in to comment.