From 251984d1e768cbc9b76536a31ff115cbe230df40 Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 18 Jul 2025 14:54:05 +0900 Subject: [PATCH] Simplify navigation to show only help button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove en, fav, ten, did, all, seven buttons that showed same content - Keep only help button for documentation access - Remove unused didEnable state and useState import 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/components/pages/HomePage.tsx | 13 ------------- 1 file changed, 13 deletions(-) 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 && (