Fix layout issue in Navbar.tsx component

This commit is contained in:
Bram Suurd
2024-05-10 18:49:18 +02:00
parent 92f682be4e
commit 088fbbce37

View File

@@ -64,7 +64,6 @@ function Navbar() {
const fetchLinks = async () => {
try {
// you can also fetch all records at once via getFullList
const res = await pb.collection("categories").getFullList({
expand: "items",
});
@@ -144,6 +143,7 @@ function Navbar() {
.includes(searchTerm.toLowerCase()),
)
.map((script, index) => (
<SheetClose>
<p key={index} className="py-1">
<Link
href={{
@@ -155,6 +155,7 @@ function Navbar() {
{script.title} {script.item_type}
</Link>
</p>
</SheetClose>
))}
</AccordionContent>
</AccordionItem>