Skip to content

Commit 1e07764

Browse files
committed
Fix build
1 parent 1b15abf commit 1e07764

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/link.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ type IWrappedLinkProps = {
1010
};
1111

1212
const onClick = (href: string) => {
13-
if (window.umami) {
13+
if ((window as any).umami) {
1414
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
15-
window.umami.track('click', {href});
15+
(window as any).umami.track('click', {href});
1616
}
1717
};
1818

0 commit comments

Comments
 (0)