fix: remove empty demographic data message from marketing page
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
f2d4bb3c5f
commit
9ceb8ef0d3
|
|
@ -296,7 +296,7 @@ export default function MarketingPage() {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Graphiques - Affichés uniquement s'il y a des données valides */}
|
{/* Graphiques - Affichés uniquement s'il y a des données valides */}
|
||||||
{hasDemographicData ? (
|
{hasDemographicData && (
|
||||||
<>
|
<>
|
||||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
|
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
|
||||||
{/* Répartition par genre */}
|
{/* Répartition par genre */}
|
||||||
|
|
@ -371,18 +371,6 @@ export default function MarketingPage() {
|
||||||
</Card>
|
</Card>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
) : (
|
|
||||||
<Card className="p-6 mb-6">
|
|
||||||
<div className="text-center py-8">
|
|
||||||
<BarChart3 className="w-16 h-16 text-gray-300 mx-auto mb-4" />
|
|
||||||
<h3 className="text-lg font-semibold text-gray-600 mb-2">
|
|
||||||
Données démographiques non disponibles
|
|
||||||
</h3>
|
|
||||||
<p className="text-gray-500">
|
|
||||||
Les informations sur le genre, l'âge et la ville des participants ne sont pas encore renseignées.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</Card>
|
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Section Export */}
|
{/* Section Export */}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user