chore: deno fmt

This commit is contained in:
Max Richter
2025-11-02 21:58:02 +01:00
parent 21124dfe00
commit c13420c3ab
41 changed files with 324 additions and 254 deletions

View File

@@ -62,15 +62,15 @@ export const IngredientsList: FunctionalComponent<
> = (
{ ingredients, amount, portion },
) => {
return (
<table class="w-full border-collapse table-auto">
<tbody>
{ingredients.map((item) => {
return (
<Ingredient ingredient={item} amount={amount} portion={portion} />
);
})}
</tbody>
</table>
);
};
return (
<table class="w-full border-collapse table-auto">
<tbody>
{ingredients.map((item) => {
return (
<Ingredient ingredient={item} amount={amount} portion={portion} />
);
})}
</tbody>
</table>
);
};

View File

@@ -6,7 +6,7 @@ type IconKey = keyof typeof icons;
export type MenuState = {
activeMenu: Signal<string>;
activeState: Signal<"input" | "error" | "normal" | "loading">;
loadingText:Signal<string>;
loadingText: Signal<string>;
commandInput: Signal<string>;
visible: Signal<boolean>;
menus: Record<string, Menu>;

View File

@@ -191,16 +191,16 @@ const Search = (
{data.value?.length && !isLoading.value
? <SearchResultList showEmoji={!type} result={data.value} />
: isLoading.value
? <div />
: (
<div
class="flex items-center gap-2 p-2 my-4 mx-3"
style={{ color: "#818181" }}
>
<Emoji class="w-8 h-8" name="Ghost.png" />
No Results
</div>
)}
? <div />
: (
<div
class="flex items-center gap-2 p-2 my-4 mx-3"
style={{ color: "#818181" }}
>
<Emoji class="w-8 h-8" name="Ghost.png" />
No Results
</div>
)}
</div>
);
};