mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 00:24:53 +00:00
- Fixed issue with undefined value for the grocery requested by section
This commit is contained in:
@ -183,7 +183,7 @@ const GroceryItem = ({
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{getInitials(itemCreator.firstName, itemCreator.lastName ?? "")}
|
||||
{itemCreator ? getInitials(itemCreator.firstName, itemCreator.lastName) : ""}
|
||||
</Text>
|
||||
</View>
|
||||
</View>}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { FlatList, StyleSheet } from "react-native";
|
||||
import React, { useEffect, useState } from "react";
|
||||
import { Button, Text, TouchableOpacity, View } from "react-native-ui-lib";
|
||||
import { Text, TouchableOpacity, View } from "react-native-ui-lib";
|
||||
import GroceryItem from "./GroceryItem";
|
||||
import {
|
||||
GroceryCategory,
|
||||
|
||||
Reference in New Issue
Block a user