mirror of
https://github.com/urosran/cally.git
synced 2025-11-27 00:44:54 +00:00
fixes, deleteFamily function, household signup
This commit is contained in:
@ -20,14 +20,10 @@ const DumpList = (props: { searchText: string }) => {
|
||||
|
||||
return (
|
||||
<View marginB-70>
|
||||
{brainDumps?.length ? <FlatList
|
||||
style={{ zIndex: -1 }}
|
||||
data={sortedDumps}
|
||||
keyExtractor={(item) => item.title}
|
||||
renderItem={({ item }) => (
|
||||
<BrainDumpItem key={item.title} item={item} />
|
||||
)}
|
||||
/> : <Text marginT-20 center style={styles.alert}>You have no notes</Text>}
|
||||
{sortedDumps?.length ? (
|
||||
sortedDumps.map((item) => (
|
||||
<BrainDumpItem key={item.id} item={item} />
|
||||
))) : <Text marginT-20 center style={styles.alert}>You have no notes</Text>}
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user