diff --git a/frontend/src/pages/HomePage.tsx b/frontend/src/pages/HomePage.tsx index fc8880e..3c38a2b 100644 --- a/frontend/src/pages/HomePage.tsx +++ b/frontend/src/pages/HomePage.tsx @@ -1,5 +1,5 @@ import { useEffect } from 'react' -import { useNavigate, Link } from 'react-router-dom' +import { Link } from 'react-router-dom' import { motion } from 'motion/react' import { ArrowRight } from 'lucide-react' import ProductCard from '../components/ProductCard' @@ -58,7 +58,6 @@ const cardVariant = { } export default function HomePage() { - const navigate = useNavigate() useEffect(() => { document.title = "Windows ISO Downloader | Official Microsoft Images" diff --git a/frontend/src/pages/ProductsPage.tsx b/frontend/src/pages/ProductsPage.tsx index f4baf4c..a56aee8 100644 --- a/frontend/src/pages/ProductsPage.tsx +++ b/frontend/src/pages/ProductsPage.tsx @@ -1,5 +1,5 @@ import { useState, useEffect } from 'react' -import { useNavigate, Link } from 'react-router-dom' +import { Link } from 'react-router-dom' import { motion } from 'motion/react' import { Search, ArrowRight } from 'lucide-react' import type { Product } from '../types' @@ -12,7 +12,6 @@ const quickSearches = [ ] export default function ProductsPage() { - const navigate = useNavigate() const [products, setProducts] = useState([]) const [isLoading, setIsLoading] = useState(true) const [query, setQuery] = useState('')