diff options
| author | Pinapelz <yukais@pinapelz.com> | 2023-11-24 00:22:38 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2023-11-24 00:22:38 -0800 |
| commit | f62f7f49c72ceffccc67f94855a70499d4e12b56 (patch) | |
| tree | a725f59b1e9250fb3f5a89c61bdd3c6df18939d0 | |
| parent | 457796679dd4182b3eae35d387164c7fb5f10537 (diff) | |
pretty print nextMilestone string
| -rw-r--r-- | src/components/channel-card.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/channel-card.tsx b/src/components/channel-card.tsx index f2eed59..58b2b5c 100644 --- a/src/components/channel-card.tsx +++ b/src/components/channel-card.tsx @@ -40,7 +40,7 @@ export function ChannelCard(props: ChannelCardProps) { </div> <div className="flex flex-col items-center"> <span className="text-l text-gray-600">Next Milestone</span> - <span className="font-semibold">{nextMilestone}</span> + <span className="font-semibold">{nextMilestone.toLocaleString()}</span> <div className="flex justify-center items-center"> <span className="text-sm text-gray-600 px-2">{nextMilestoneDays} days</span> <span className="text-sm text-gray-600 px-2">{nextMilestoneDate}</span> |
