Amélioration pour nouveau connecté

This commit is contained in:
ocroguennec committed 2026-07-03 20:44:32 +02:00
1 parent 53742568ce
commit ff77ee977d
6 files changed
+87 -6

No files matched your search

+12
View File
@@ -779,6 +779,18 @@ export default function Investissements() {
<EmptyState />
</>
);
if (!loading && !modalOpen && allRows.length === 0) return (
<>
<div className="topbar"><h2>Investissements</h2></div>
<EmptyState
icon="📊"
title="Aucun investissement pour le moment"
message="Vos plateformes sont configurées, mais aucun investissement n'y a encore été ajouté. Ajoutez votre premier investissement pour commencer le suivi."
cta="Ajouter un investissement"
to="/investissements?new=1"
/>
</>
);
return (
<>
<div className="topbar">