Skip to content

Commit 509b2cf

Browse files
committed
hotfixes
1 parent d1e5a1b commit 509b2cf

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/app/(dashboard)/(default_layout)/statistics/page.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ export default async function StatisticsPage({
2929
}
3030

3131
// get the date range from the search params
32-
const range = searchParams.range as StatsSteps;
32+
let range = searchParams.range as StatsSteps;
33+
if (!range) range = '90d';
3334

3435
const { step } = STATISTICS[range];
3536

@@ -49,9 +50,9 @@ export default async function StatisticsPage({
4950
</h1>
5051
<div className="flex gap-3">
5152
<StatsRangePicker selectedRange={STATISTICS[range].label} />
52-
<Button variant="default">
53+
{/* <Button variant="default">
5354
<Stars className="size-4 text-yellow-300 fill-yellow-300" />
54-
</Button>
55+
</Button> */}
5556
</div>
5657
</div>
5758
<div className="grid grid-cols-12 gap-y-4 gap-x-8">

src/components/global/navigation/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export function AppSidebar() {
137137
},
138138
{
139139
title: 'Help',
140-
url: '/help',
140+
url: 'mailto:loganfordwd@gmail.com',
141141
icon: HelpCircle
142142
},
143143
{

0 commit comments

Comments
 (0)