diff --git a/components/CurrencyCard.tsx b/components/CurrencyCard.tsx index cc7b793..0130ca3 100644 --- a/components/CurrencyCard.tsx +++ b/components/CurrencyCard.tsx @@ -816,7 +816,7 @@ function OISEnhancedBlock({ ratePath, syncChartTab, onChartTabChange }: { {/* Liste des réunions */}
- {scenariosData.map((d, i) => { + {scenariosData.map(d => { const isPeak = ratePath.peakMeeting?.dateIso === d.dateIso; const isDown = d.rate < currentRate - 0.001; const isUp = d.rate > currentRate + 0.001; @@ -824,9 +824,6 @@ function OISEnhancedBlock({ ratePath, syncChartTab, onChartTabChange }: { const barW = Math.max(4, Math.min(100, ((d.rate - minR2) / range) * 100)); const cumBps = d.cumulBps; const cumStr = cumBps === 0 ? null : `${cumBps > 0 ? "+" : ""}${cumBps}`; - // Pour la 1ère réunion : montrer STIR original si IL a surchargé la valeur - const stirProb = i === 0 ? ratePath.ilCurrent?.stirProbPct : undefined; - const ilFused = stirProb !== undefined && Math.abs(d.prob - stirProb) > 5; return (
)} - {/* Probabilité : si fusion IL/STIR, afficher les deux sources */} - {ilFused ? ( - - - {d.prob.toFixed(0)}% - - - ({stirProb?.toFixed(0)}%) - - - ) : d.prob > 0 ? ( - {d.prob.toFixed(0)}% - ) : null}
); })}