Skip to content

Commit 56627ab

Browse files
committed
chore: default 30 days in home extra stats
1 parent 0ae2e08 commit 56627ab

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

web/src/pages/Home/CourtOverview/ExtraStats.tsx

+2-5
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,12 @@ const stats: IStat[] = [
5050
const timeRanges = [
5151
{ value: 7, text: "Last 7 days" },
5252
{ value: 30, text: "Last 30 days" },
53-
{ value: 90, text: "Last 90 days" },
54-
// we can uncomment these as the contract deployment time increases
55-
// { value: 180, text: "Last 180 days" },
56-
// { value: 365, text: "Last 365 days" },
53+
{ value: 180, text: "Last 180 days" },
5754
{ value: "allTime", text: "All Time" },
5855
];
5956

6057
const ExtraStats = () => {
61-
const [selectedRange, setSelectedRange] = useState(timeRanges[0].value);
58+
const [selectedRange, setSelectedRange] = useState(timeRanges[1].value);
6259
const data = useHomePageExtraStats(selectedRange);
6360

6461
const handleTimeRangeChange = (value: string | number) => {

0 commit comments

Comments
 (0)