From 7b522b2df9c77909a70fb1fb65b6d367d5876c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20=C5=A0korpil?= Date: Fri, 7 Jan 2022 16:12:25 +0100 Subject: [PATCH] Matomo optimizations --- application/src/components/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/components/Layout.tsx b/application/src/components/Layout.tsx index b2aefa5..d955c52 100644 --- a/application/src/components/Layout.tsx +++ b/application/src/components/Layout.tsx @@ -9,7 +9,7 @@ export const siteTitle = 'FediSearch' const Layout:React.FC<{ matomoConfig:UserOptions, children: React.ReactNode }> = ({ matomoConfig, children }) => { useEffect(() => { getMatomo(matomoConfig).trackPageView() - }) + }, []) return (