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 }) => {
|
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>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user