Commit 7d36418
committed
[Dashboard] Fix: MAU date range (#5271)
Fixes CNCT-2185
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on updating the date range for fetching in-app wallet usage statistics from the start of the current month to the last 30 days, improving the relevance of the data displayed.
### Detailed summary
- In `layout.tsx`:
- Changed `from` date in `getInAppWalletUsage` from the start of the current month to 30 days ago using `subDays`.
- In `header.tsx`:
- Updated `from` date in `getInAppWalletUsage` similarly to 30 days ago with `subDays`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->1 parent 412fb5d commit 7d36418
File tree
2 files changed
+4
-2
lines changed- apps/dashboard/src/app
- (dashboard)/dashboard/connect/in-app-wallets/[clientId]
- team/[team_slug]/[project_slug]/connect/in-app-wallets/_components
2 files changed
+4
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments