We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b15abf commit 1e07764Copy full SHA for 1e07764
src/components/link.tsx
@@ -10,9 +10,9 @@ type IWrappedLinkProps = {
10
};
11
12
const onClick = (href: string) => {
13
- if (window.umami) {
+ if ((window as any).umami) {
14
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
15
- window.umami.track('click', {href});
+ (window as any).umami.track('click', {href});
16
}
17
18
0 commit comments