fixed tag row being a nuisance
This commit is contained in:
@@ -3,7 +3,7 @@ import PageLayout from "@/layouts/base"
|
||||
import client from "@/data/pocketbase"
|
||||
import OverviewCard from "@/components/Card/OverviewCard"
|
||||
|
||||
const recipies = await client.collection("recipes").getFullList()
|
||||
const recipes = await client.getAllRecipes()
|
||||
---
|
||||
|
||||
<PageLayout>
|
||||
@@ -11,7 +11,7 @@ const recipies = await client.collection("recipes").getFullList()
|
||||
|
||||
<div class="grid md:gap-2 gap-3 grid-cols-2 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-8">
|
||||
{
|
||||
recipies.map(r => (
|
||||
recipes.map(r => (
|
||||
<OverviewCard recipe={r} />
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user