fix linting errors - unused deps etc

This commit is contained in:
2026-09-29 09:02:46 +02:00
parent 29e3173d80
commit 3fde18106d
11 changed files with 14 additions and 36 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
"use client";
import { useEffect } from "react";
import { useEffect, type ReactNode } from "react";
import { useSession } from "next-auth/react";
import { useLocale } from "next-intl";
@@ -10,11 +10,11 @@ import { setUserLocale } from "@/server/setUserLocale";
import { usePathname, useRouter } from "@/utils/routing";
type LocaleCheckerProps = {
children?: React.ReactNode;
children?: ReactNode;
};
export const LocaleChecker = ({ children }: LocaleCheckerProps) => {
const { data: sessionData, status, update } = useSession();
const { data: sessionData, status } = useSession();
const router = useRouter();
const pathname = usePathname();
const params = useParams();