Skip to content

Commit 7cba4c5

Browse files
authored
Merge pull request #2531 from IntersectMBO/hotfix/fix-typo-to-enable-matomo-analytics
hotfix: fix typo in matomo hook
2 parents b5ac058 + b30b295 commit 7cba4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

govtool/frontend/src/hooks/useMatomo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { useEffect } from "react";
88
export const useMatomo = () => {
99
useEffect(() => {
1010
const env = import.meta.env.VITE_APP_ENV;
11-
if (env !== "prodction" || env !== "staging") {
11+
if (env !== "production" || env !== "staging") {
1212
return;
1313
}
1414
// eslint-disable-next-line @typescript-eslint/ban-ts-comment

0 commit comments

Comments
 (0)