Removed and changed comments
This commit is contained in:
@@ -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>
|
||||
}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user