Skip to content

Commit

Permalink
Shut up ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
WesSouza committed Dec 17, 2024
1 parent 3c3c596 commit 82f47d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/plausible.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export function collect(eventName: string, props: Record<string, any> = {}) {
try {
window.plausible?.(eventName, { props });
} catch (error) {}
} catch {
/* empty */
}
}

0 comments on commit 82f47d4

Please sign in to comment.