diff --git a/src/components/SearchBar.astro b/src/components/SearchBar.astro
index e341191..d42f0a4 100644
--- a/src/components/SearchBar.astro
+++ b/src/components/SearchBar.astro
@@ -5,4 +5,4 @@ import { getCollection } from 'astro:content'
const allNotes = await getCollection('notes')
---
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/pages/notes/search.astro b/src/pages/notes/search.astro
index f6d57d7..bbce7a5 100644
--- a/src/pages/notes/search.astro
+++ b/src/pages/notes/search.astro
@@ -1,10 +1,6 @@
---
import Main from '../../layouts/Main.astro'
-// import SearchBar from '../../components/SearchBar.astro'
-import SearchBar from '../../components/ui/Search'
-import { getCollection } from 'astro:content'
-
-const allNotes = await getCollection('notes')
+import SearchBar from '../../components/SearchBar.astro'
---
-
+