Skip to content

Commit e110184

Browse files
committed
refactor(github-modal): remove unused router import
1 parent c7e99a4 commit e110184

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

www/components/github-modal/client.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import { useCallback, useEffect, useState } from "react";
44
import { AnimatePresence, motion } from "framer-motion";
55
import Image from "next/image";
6-
import { useRouter } from "next/navigation";
76
import { Github, Loader, X } from "lucide-react";
87
import { cn } from "@/lib/utils";
98

@@ -40,7 +39,6 @@ export default function GitHubModal({ onClose }: GitHubModalProps) {
4039
const [isValidating, setIsValidating] = useState(false);
4140
const [error, setError] = useState("");
4241
const [profile, setProfile] = useState<GitHubProfile | null>(null);
43-
const router = useRouter();
4442
const [loading, setLoading] = useState(false);
4543

4644
const redirectToProfilePage = () => {

0 commit comments

Comments
 (0)