mirror of
https://github.com/Sosokker/chefhai.git
synced 2025-12-19 05:54:08 +01:00
fix greeting message
This commit is contained in:
parent
53610dd108
commit
233d08d700
@ -111,7 +111,13 @@ const navigateToFoodDetail = (foodId: string) => {
|
|||||||
export default function HomeScreen() {
|
export default function HomeScreen() {
|
||||||
const [imageProcessing, setImageProcessing] = useState(false);
|
const [imageProcessing, setImageProcessing] = useState(false);
|
||||||
const [searchQuery, setSearchQuery] = useState("");
|
const [searchQuery, setSearchQuery] = useState("");
|
||||||
const { data: foodsData = [], isLoading, error } = useFoodsQuery();
|
|
||||||
|
const { profileData } = useUserProfile();
|
||||||
|
const {
|
||||||
|
data: foodsData = [],
|
||||||
|
isLoading: isLoadingFoods,
|
||||||
|
error: foodsError,
|
||||||
|
} = useFoodsQuery();
|
||||||
|
|
||||||
const handleImageSelection = async (
|
const handleImageSelection = async (
|
||||||
pickerFn:
|
pickerFn:
|
||||||
@ -206,7 +212,7 @@ export default function HomeScreen() {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<View className="flex-row justify-between items-center px-6 pt-4 pb-2">
|
<View className="flex-row justify-between items-center px-6 pt-4 pb-2">
|
||||||
<Text className="text-3xl font-bold">Hi! Mr. Chef</Text>
|
<Text className="text-3xl font-bold">{greeting}</Text>
|
||||||
<View className="bg-[#ffd60a] p-3 rounded-lg">
|
<View className="bg-[#ffd60a] p-3 rounded-lg">
|
||||||
<Ionicons name="settings-outline" size={24} color="black" />
|
<Ionicons name="settings-outline" size={24} color="black" />
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user