--- import { record } from "astro:schema" import client from "@/data/pocketbase" import StepIngredientSideView from "./StepIngredientSideView.astro" const { steps, class: className } = Astro.props ---
Steps
{ steps.map(s => (Step {s.index + 1}
{s.instruction}
{s.ingredients && s.ingredients.length > 0 && (