From dd8f1b9148f4c1877137369aa036ce260c4276d1 Mon Sep 17 00:00:00 2001 From: mkue Date: Wed, 22 Nov 2023 10:20:31 +0100 Subject: [PATCH] fix linting errors --- .../[lang]/[region]/(website)/transparency/finances/page.tsx | 2 +- website/src/app/context-providers.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/app/[lang]/[region]/(website)/transparency/finances/page.tsx b/website/src/app/[lang]/[region]/(website)/transparency/finances/page.tsx index 3ae684d18..9664ae670 100644 --- a/website/src/app/[lang]/[region]/(website)/transparency/finances/page.tsx +++ b/website/src/app/[lang]/[region]/(website)/transparency/finances/page.tsx @@ -11,5 +11,5 @@ export default function Page() { useEffect(() => { redirect('./finances/' + currency?.toLowerCase()); - }, []); + }, [currency]); } diff --git a/website/src/app/context-providers.tsx b/website/src/app/context-providers.tsx index d607a98fe..ffe867c1a 100644 --- a/website/src/app/context-providers.tsx +++ b/website/src/app/context-providers.tsx @@ -67,7 +67,7 @@ function AnalyticsProviderWrapper({ children }: PropsWithChildren) { setConsent(getAnalyticsCookieConsent('denied')); } } - }, [allowTracking]); + }, [app, allowTracking]); return ( <>