From 27fab170e0306607d17e7e51d4da737269680b2f Mon Sep 17 00:00:00 2001 From: hikae Date: Mon, 30 Dec 2024 19:41:15 +0900 Subject: [PATCH] refactor: remove GitHub token requirement message from HeroContent component --- src/components/SearchHero/HeroContent.tsx | 35 ----------------------- 1 file changed, 35 deletions(-) diff --git a/src/components/SearchHero/HeroContent.tsx b/src/components/SearchHero/HeroContent.tsx index 8933e71..554c86f 100644 --- a/src/components/SearchHero/HeroContent.tsx +++ b/src/components/SearchHero/HeroContent.tsx @@ -1,9 +1,7 @@ import { motion } from 'framer-motion'; import { Waves } from 'lucide-react'; -import { useGitHubToken } from '../../context/GitHubTokenContext'; export function HeroContent() { - const { token } = useGitHubToken(); return ( - - {!token && ( -
-

- 🔑 GitHub Token Required -

-

- To use Surf Board, you'll need a GitHub personal access token with repository read permissions. -

-
- - → Create a GitHub Token - - - → Learn more about GitHub tokens - -
-
- )} - -
- Get started by entering your search query above ↑ -
);