Removed and changed comments

This commit is contained in:
Alexis Leboeuf
2025-11-06 18:18:27 +01:00
parent 0937f0e28e
commit 170ac974c2

View File

@@ -37,8 +37,6 @@ export default function BonjourScreen() {
const renderItem = ({ item, index }: { item?: Concert; index: number }) => { const renderItem = ({ item, index }: { item?: Concert; index: number }) => {
if (!item) { if (!item) {
// optionnel : afficher un placeholder pour debug
// return <View style={styles.card}><Text>Item manquant</Text></View>;
return null; return null;
} }
return( return(
@@ -67,7 +65,6 @@ export default function BonjourScreen() {
Bonjour {prenom} {nom} Bonjour {prenom} {nom}
</Text> </Text>
{/* 🔍 Champ de recherche */}
<TextInput <TextInput
style={styles.input} style={styles.input}
placeholder="Rechercher un groupe..." placeholder="Rechercher un groupe..."
@@ -77,7 +74,7 @@ export default function BonjourScreen() {
</View> </View>
} }
ListEmptyComponent={ ListEmptyComponent={
<Text style={styles.empty}>Aucun résultat trouvé 😕</Text> <Text style={styles.empty}>Aucun résultat n'a été trouvé</Text>
} }
/> />