Skip to content

Commit

Permalink
Merge pull request #128 from daithihearn/enhancement/default-to-3mont…
Browse files Browse the repository at this point in the history
…hs-for-stats

Defaulting to last 3 months for stats
  • Loading branch information
daithihearn authored Feb 26, 2023
2 parents 87a0886 + 8c274c5 commit 5d95fe8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "5.2.2",
"version": "5.2.3",
"description": "React frontend for the Cards 110",
"author": "Daithi Hearn",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"short_name": "Cards 110",
"name": "Cards 110",
"version": "5.2.2",
"version": "5.2.3",
"icons": [
{
"src": "./assets/favicon.png",
Expand Down
2 changes: 1 addition & 1 deletion src/components/GameStats/GameStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const GameStats = () => {
const myProfile = useAppSelector(getMyProfile)
const stats = useAppSelector(getGameStats)

const [last3Months, updateLast3Months] = useState(false)
const [last3Months, updateLast3Months] = useState(true)

const fromDate = new Date()
fromDate.setMonth(fromDate.getMonth() - 3)
Expand Down

0 comments on commit 5d95fe8

Please sign in to comment.