diff --git a/apps/mobile/src/app/(tabs)/index.tsx b/apps/mobile/src/app/(tabs)/index.tsx index 7209458..5a7169b 100644 --- a/apps/mobile/src/app/(tabs)/index.tsx +++ b/apps/mobile/src/app/(tabs)/index.tsx @@ -1,5 +1,5 @@ import { useEffect, useState } from "react"; -import { View } from "react-native"; +import { Pressable, View } from "react-native"; import { router } from "expo-router"; import { useQuery } from "@tanstack/react-query"; import { api } from "@/lib/api"; @@ -106,9 +106,18 @@ export default function WhatToEatScreen() { {query.data && ( <> {query.data.context.activeHolidays.length > 0 && ( - + {query.data.context.activeHolidays.map((holiday) => ( - + { + setCraving(holiday); + setSubmittedCraving(holiday); + setPage(0); + }} + > + + ))} )}