feat: dont show image duplicate in beginnign of markdown

This commit is contained in:
2025-01-26 02:00:59 +01:00
parent 6a54bdeec6
commit d450f4ed42
8 changed files with 99 additions and 42 deletions

View File

@ -60,14 +60,13 @@ function ValidRecipe({
);
}
export default function Greet(
export default function Page(
props: PageProps<{ recipe: Recipe; session: Record<string, string> }>,
) {
const { recipe, session } = props.data;
const portion = recipe.meta?.portion;
const amount = useSignal(portion || 1);
console.log({ recipe });
const subline = [
recipe?.meta?.time && `Duration ${recipe.meta.time}`,