feat(mobile): MIKRO STARS-3 byt ⭐ mot Toppval-tagg på första förslaget
This commit is contained in:
@@ -147,11 +147,9 @@ export default function WhatToEatScreen() {
|
|||||||
|
|
||||||
{shownRecs.map((rec, index) => (
|
{shownRecs.map((rec, index) => (
|
||||||
<Card key={rec.recipeId} onPress={() => router.push(`/recipe/${rec.recipeId}`)}>
|
<Card key={rec.recipeId} onPress={() => router.push(`/recipe/${rec.recipeId}`)}>
|
||||||
<Row style={{ justifyContent: "space-between" }}>
|
<Row style={{ justifyContent: "space-between", alignItems: "center" }}>
|
||||||
<Heading>
|
<Heading>{rec.titleSv}</Heading>
|
||||||
{index === 0 ? "⭐ " : ""}
|
{index === 0 && <Tag label="Toppval" tone="accent" />}
|
||||||
{rec.titleSv}
|
|
||||||
</Heading>
|
|
||||||
</Row>
|
</Row>
|
||||||
<Row>
|
<Row>
|
||||||
{rec.ratingCount > 0 && rec.ratingAverage != null && (
|
{rec.ratingCount > 0 && rec.ratingAverage != null && (
|
||||||
|
|||||||
Reference in New Issue
Block a user