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