Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
TGlide committed Apr 22, 2024
1 parent c770ac2 commit a6c8629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ export function useEventListener(

$effect(() => {
if (target.value === undefined || target.value === null) return;
return addEventListener(target.value, event, handler, options)
return addEventListener(target.value, event, handler, options);
});
}
}
1 change: 0 additions & 1 deletion sites/docs/content/functions/use-event-listener.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ import { UseEventListenerDemo } from '$lib/components/demos';
<div bind:this={wrapper}>
<p>You've clicked {count} {count === 1 ? "time" : "times"}</p>
</div>
```

0 comments on commit a6c8629

Please sign in to comment.