Skip to content

Commit 71e3c7f

Browse files
Potential fix for code scanning alert no. 695: Unused variable, import, function or class
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 45a3999 commit 71e3c7f

File tree

1 file changed

+0
-2
lines changed
  • apps/web/components/admin/settings

1 file changed

+0
-2
lines changed

apps/web/components/admin/settings/sso.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import {
2020
SSO_PROVIDER_SP_ACS_LABEL,
2121
SSO_PROVIDER_SP_ENTITY_ID_LABEL,
2222
} from "@ui-config/strings";
23-
import { useRouter } from "next/navigation";
2423
import { useForm, FormProvider } from "react-hook-form";
2524
import { zodResolver } from "@hookform/resolvers/zod";
2625
import * as z from "zod";
@@ -73,7 +72,6 @@ interface NewSSOProviderProps {
7372
export default function SSOProvider({ address }: NewSSOProviderProps) {
7473
const [loading, setLoading] = useState(false);
7574
const { toast } = useToast();
76-
const router = useRouter();
7775
const [isDeleting, setIsDeleting] = useState(false);
7876
const [isSSOProviderSet, setIsSSOProviderSet] = useState(false);
7977

0 commit comments

Comments
 (0)