Skip to content

Commit

Permalink
fixed dates issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fullstackninja864 committed Jul 20, 2023
1 parent ed44596 commit 42a4069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TransactionsLineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function CustomizedTickX(props) {
textAnchor="middle"
className="text-dark-700 text-xs -tracking-[0.12px]"
>
{dayjs(payload.value).format("MMM d")}
{dayjs(payload.value).format("MMM D")}
</tspan>
</text>
</g>
Expand Down Expand Up @@ -49,7 +49,7 @@ function CustomTooltip({ active, payload, label }) {
return (
<div className="bg-white-50 p-3 rounded-[10px]">
<div className="text-xs text-light-700 -tracking-[0.12px]">
{dayjs(label).format("MMM d, YYYY")}
{dayjs(label).format("MMM D, YYYY")}
</div>
{payload.map((pld) => (
<div className="text-base text-light-1000 -tracking-[0.32px]">
Expand Down

0 comments on commit 42a4069

Please sign in to comment.