Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Jan 23, 2024
1 parent 06f2ea2 commit bafd0a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Tooltip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
let tooltipOpen: boolean = initiallyOpen;
const query = "main *";
function onClick(e) {
e.preventDefault();
e.stopPropagation();
function onClick(e?: any) {
e?.preventDefault();
e?.stopPropagation();
tooltipOpen = false;
onClose();
Expand Down

0 comments on commit bafd0a8

Please sign in to comment.