From a61aafcd93088e7f5a2e121d4e0cea9797481e43 Mon Sep 17 00:00:00 2001 From: Xavi Alfaro Date: Wed, 10 Apr 2024 15:20:06 -0500 Subject: [PATCH] update component name --- src/components/{searcher.tsx => sections-searcher.tsx} | 4 ++-- src/components/sidebar.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/components/{searcher.tsx => sections-searcher.tsx} (85%) diff --git a/src/components/searcher.tsx b/src/components/sections-searcher.tsx similarity index 85% rename from src/components/searcher.tsx rename to src/components/sections-searcher.tsx index 846b6fc..1db3b8c 100644 --- a/src/components/searcher.tsx +++ b/src/components/sections-searcher.tsx @@ -5,11 +5,11 @@ import { Search } from 'lucide-react' import { Input } from '@/components/ui/input' -type SearcherProps = { +type SectionsSearcherProps = { setFilterSection: Dispatch> } -export function Searcher({ setFilterSection }: SearcherProps) { +export function SectionsSearcher({ setFilterSection }: SectionsSearcherProps) { return (
diff --git a/src/components/sidebar.tsx b/src/components/sidebar.tsx index fa8feb1..4878470 100644 --- a/src/components/sidebar.tsx +++ b/src/components/sidebar.tsx @@ -10,7 +10,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs' import { ContainerTemplates } from '@/components/container-templates' import { FormGit } from '@/components/form-git' import { ListSections } from '@/components/list-sections' -import { Searcher } from '@/components/searcher' +import { SectionsSearcher } from '@/components/sections-searcher' import { TemplatesMobile } from '@/components/templates-mobile' type SidebarProps = { @@ -46,7 +46,7 @@ export function Sidebar({ setFilterSection, customSections, listSectionsFiltered
- +