We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e99a4 commit e110184Copy full SHA for e110184
www/components/github-modal/client.tsx
@@ -3,7 +3,6 @@
3
import { useCallback, useEffect, useState } from "react";
4
import { AnimatePresence, motion } from "framer-motion";
5
import Image from "next/image";
6
-import { useRouter } from "next/navigation";
7
import { Github, Loader, X } from "lucide-react";
8
import { cn } from "@/lib/utils";
9
@@ -40,7 +39,6 @@ export default function GitHubModal({ onClose }: GitHubModalProps) {
40
39
const [isValidating, setIsValidating] = useState(false);
41
const [error, setError] = useState("");
42
const [profile, setProfile] = useState<GitHubProfile | null>(null);
43
- const router = useRouter();
44
const [loading, setLoading] = useState(false);
45
46
const redirectToProfilePage = () => {
0 commit comments