mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 16:34:54 +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",
|
fontWeight: "bold",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{getInitials(itemCreator.firstName, itemCreator.lastName ?? "")}
|
{itemCreator ? getInitials(itemCreator.firstName, itemCreator.lastName) : ""}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
</View>}
|
</View>}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { FlatList, StyleSheet } from "react-native";
|
import { FlatList, StyleSheet } from "react-native";
|
||||||
import React, { useEffect, useState } from "react";
|
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 GroceryItem from "./GroceryItem";
|
||||||
import {
|
import {
|
||||||
GroceryCategory,
|
GroceryCategory,
|
||||||
|
|||||||
Reference in New Issue
Block a user