-
How long does it take:
+ How long does it take:
{(
Object.keys(
RecipePropertyDescription
) as (keyof typeof RecipePropertyDescription)[]
).map((property) => (
- <>
- {
- -
- {`- ${RecipePropertyDescription[property]}: ${recipe[property]}`}
- {recipe[property] == "" && (
- Classified
- )}
-
- }
- >
+ -
+ {`- ${RecipePropertyDescription[property]}: ${recipe[property]}`}
+ {recipe[property] == "" && (
+ Classified
+ )}
+
))}
@@ -80,18 +76,18 @@ export const RecipeInfo = ({ item: recipe }: { item: RecipeType }) => {
RecipeIngredientsDescription
) as (keyof typeof RecipeIngredientsDescription)[]
).map((property) => (
- <>
-
- {(recipe[property] as string[]).length > 0 &&
- RecipeIngredientsDescription[property] + ":"}
-
+
+ {(recipe[property] as string[]).length > 0 &&
+ RecipeIngredientsDescription[property] + ":"}
{(recipe[property] as string[]).length > 0 &&
(recipe[property] as string[]).map((ingredient) => (
- - - {ingredient}
+ -
+ - {ingredient}
+
))}
- >
+
))}
diff --git a/src/shared/assets/icons/check.tsx b/src/shared/assets/icons/check.tsx
index d787ac3..4694870 100644
--- a/src/shared/assets/icons/check.tsx
+++ b/src/shared/assets/icons/check.tsx
@@ -9,8 +9,8 @@ export const CheckIcon = ({ className }: { className?: string }) => {