Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
jhsware committed Jan 18, 2024
1 parent 2432aca commit c385595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/inferno/src/DOM/events/delegation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function rootEvent(name: string): (event: SemiSyntheticEvent<any>) => void {
function attachEventToDocument(
name: string,
): (event: SemiSyntheticEvent<any>) => void {
const attachedEvent = rootEvent(name);
const attachedEvent = rootEvent(name);
document.addEventListener(normalizeEventName(name), attachedEvent);
return attachedEvent;
}

0 comments on commit c385595

Please sign in to comment.