From b30b2952baf517b14a62bb4b989077d1fb8d9513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sza=C5=82owski?= Date: Mon, 16 Dec 2024 16:52:37 +0100 Subject: [PATCH] hotfix: fix typo in matomo hook --- govtool/frontend/src/hooks/useMatomo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/govtool/frontend/src/hooks/useMatomo.ts b/govtool/frontend/src/hooks/useMatomo.ts index 381de7105..825683651 100644 --- a/govtool/frontend/src/hooks/useMatomo.ts +++ b/govtool/frontend/src/hooks/useMatomo.ts @@ -8,7 +8,7 @@ import { useEffect } from "react"; export const useMatomo = () => { useEffect(() => { const env = import.meta.env.VITE_APP_ENV; - if (env !== "prodction" || env !== "staging") { + if (env !== "production" || env !== "staging") { return; } // eslint-disable-next-line @typescript-eslint/ban-ts-comment