Skip to content
Snippets Groups Projects
Unverified Commit 6d84b0e3 authored by Crazypkr1099's avatar Crazypkr1099 Committed by GitHub
Browse files

Fix wrong month on spending card (#3295)

* Create 2881.md

* Fix spending card reading wrong month

* Revert "Create 2881.md"

This reverts commit de26f690e85964d7083cc9d10227faa171ccf98f.

* Create 3295.md
parent db4b504e
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,6 @@ export function SpendingCard({ isEditing, onRemove }: SpendingCardProps) { ...@@ -68,7 +68,6 @@ export function SpendingCard({ isEditing, onRemove }: SpendingCardProps) {
</MissingReportCard> </MissingReportCard>
); );
} }
return ( return (
<ReportCard <ReportCard
isEditing={isEditing} isEditing={isEditing}
...@@ -103,8 +102,8 @@ export function SpendingCard({ isEditing, onRemove }: SpendingCardProps) { ...@@ -103,8 +102,8 @@ export function SpendingCard({ isEditing, onRemove }: SpendingCardProps) {
Monthly Spending Monthly Spending
</Block> </Block>
<DateRange <DateRange
start={monthUtils.currentMonth()} start={monthUtils.addMonths(monthUtils.currentMonth(), 1)}
end={monthUtils.currentMonth()} end={monthUtils.addMonths(monthUtils.currentMonth(), 1)}
/> />
</View> </View>
{data && showLastMonth && ( {data && showLastMonth && (
......
---
category: Bugfix
authors: [Crazypkr1099]
---
Fix incorrect month on spendingcard
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment