Skip to content

Commit

Permalink
fixed issue with worldchain showing dashed lines before last stacked …
Browse files Browse the repository at this point in the history
…column
  • Loading branch information
mokelgit committed Nov 25, 2024
1 parent 0cd0ac2 commit e0c4dfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/metric/MetricSeriesContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ export const MetricSeriesProvider = ({ children, metric_type }: MetricSeriesProv

// if it is not the last day of the month, add a zone to the chart to indicate that the data is incomplete
if (selectedTimeInterval === "monthly") {
if (seriesData.length > 2 && todaysDateUTC !== 1) {

if (seriesData.length > 1 && todaysDateUTC !== 1) {
zoneAxis = "x";
zones = [
{
Expand Down

0 comments on commit e0c4dfd

Please sign in to comment.