File tree 2 files changed +5
-4
lines changed
app/(dashboard)/(default_layout)/statistics
components/global/navigation
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ export default async function StatisticsPage({
29
29
}
30
30
31
31
// 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' ;
33
34
34
35
const { step } = STATISTICS [ range ] ;
35
36
@@ -49,9 +50,9 @@ export default async function StatisticsPage({
49
50
</ h1 >
50
51
< div className = "flex gap-3" >
51
52
< StatsRangePicker selectedRange = { STATISTICS [ range ] . label } />
52
- < Button variant = "default" >
53
+ { /* <Button variant="default">
53
54
<Stars className="size-4 text-yellow-300 fill-yellow-300" />
54
- </ Button >
55
+ </Button> */ }
55
56
</ div >
56
57
</ div >
57
58
< div className = "grid grid-cols-12 gap-y-4 gap-x-8" >
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ export function AppSidebar() {
137
137
} ,
138
138
{
139
139
title : 'Help' ,
140
- url : '/help ' ,
140
+ url : 'mailto:loganfordwd@gmail.com ' ,
141
141
icon : HelpCircle
142
142
} ,
143
143
{
You can’t perform that action at this time.
0 commit comments