feat: refactor whole bunch of stuff
This commit is contained in:
@@ -2,7 +2,7 @@ import { Signal } from "@preact/signals";
|
||||
import type { Ingredient, IngredientGroup } from "@lib/recipeSchema.ts";
|
||||
import { FunctionalComponent } from "preact";
|
||||
import { unitsOfMeasure } from "@lib/parseIngredient.ts";
|
||||
import { renderMarkdown } from "@lib/documents.ts";
|
||||
import { renderMarkdown } from "@lib/markdown.ts";
|
||||
|
||||
function formatAmount(num: number) {
|
||||
if (num === 0) return "";
|
||||
|
||||
Reference in New Issue
Block a user