diff --git a/src/components/pages/HomePage.tsx b/src/components/pages/HomePage.tsx index 8a53fa9..01aa7d1 100644 --- a/src/components/pages/HomePage.tsx +++ b/src/components/pages/HomePage.tsx @@ -1,10 +1,8 @@ -import { useState } from 'react'; import { useQuery } from '@tanstack/react-query'; import Navigation from '../common/Navigation'; import { fetchUsers } from '../../utils/api'; export default function HomePage() { - const [didEnable, setDidEnable] = useState(false); const { data: users, isLoading } = useQuery({ queryKey: ['users'], @@ -28,17 +26,6 @@ export default function HomePage() {
help - en - fav - ten - - all - seven
{users?.data && Array.isArray(users.data) && users.data.length > 0 && (