Skip to content

Commit

Permalink
Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmbrown committed Feb 4, 2025
1 parent 3054ebf commit 11606be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/SearchBar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ import { getCollection } from 'astro:content'
const allNotes = await getCollection('notes')
---

<Search client:load searchList={allNotes} />
<Search client:load searchList={allNotes} />
8 changes: 2 additions & 6 deletions src/pages/notes/search.astro
Original file line number Diff line number Diff line change
@@ -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'
---

<Main
Expand All @@ -15,5 +11,5 @@ const allNotes = await getCollection('notes')
MetaTag="website",
MetaUrl="https://derekbrown.io"
>
<SearchBar client:load searchList={allNotes} />
<SearchBar />
</Main>

0 comments on commit 11606be

Please sign in to comment.