Skip to content

Commit

Permalink
remove current year in subs/revenue chart widget
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed Jan 27, 2025
1 parent 6aa65ab commit 032478a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions clients/apps/web/src/components/Widgets/RevenueWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ export const RevenueWidget = ({ className }: RevenueWidgetProps) => {
<CardHeader className="flex flex-col gap-y-2">
<div className="flex flex-row items-center justify-between">
<span className="dark:text-polar-500 text-gray-400">Revenue</span>
<span className="dark:text-polar-500 text-gray-400">
{new Date().toLocaleDateString('en-US', {
year: 'numeric',
})}
</span>
</div>
<h2 className="text-xl">
$
Expand Down
5 changes: 0 additions & 5 deletions clients/apps/web/src/components/Widgets/SubscribersWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ export const SubscribersWidget = ({ className }: SubscribersWidgetProps) => {
<span className="dark:text-polar-500 text-gray-400">
Active Subscriptions
</span>
<span className="dark:text-polar-500 text-gray-400">
{new Date().toLocaleDateString('en-US', {
year: 'numeric',
})}
</span>
</div>
<h2 className="text-xl">
{
Expand Down

0 comments on commit 032478a

Please sign in to comment.