Skip to content

Commit

Permalink
fix: order wallet items by updatedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNumericite committed Nov 20, 2024
1 parent e6dd20e commit 667ba0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions webapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
## [0.70.12](https://github.com/SocialGouv/carte-jeune-engage/compare/v0.70.11...v0.70.12) (2024-11-20)


### Bug Fixes

* add page for widget redirect on offer to add source to redirection url ([4213d23](https://github.com/SocialGouv/carte-jeune-engage/commit/4213d239976e33fb414f4d846382b42f706b8895))
- add page for widget redirect on offer to add source to redirection url ([4213d23](https://github.com/SocialGouv/carte-jeune-engage/commit/4213d239976e33fb414f4d846382b42f706b8895))

## [0.70.11](https://github.com/SocialGouv/carte-jeune-engage/compare/v0.70.10...v0.70.11) (2024-11-20)


### Bug Fixes

* signup page onboarding check for widget if all fields have no errors ([e89b3a5](https://github.com/SocialGouv/carte-jeune-engage/commit/e89b3a5cc9e8df327ac0bc88425aadb16ad91670))
- signup page onboarding check for widget if all fields have no errors ([e89b3a5](https://github.com/SocialGouv/carte-jeune-engage/commit/e89b3a5cc9e8df327ac0bc88425aadb16ad91670))

## [0.70.10](https://github.com/SocialGouv/carte-jeune-engage/compare/v0.70.9...v0.70.10) (2024-11-20)


### Bug Fixes

* middleware check user complete ([5af9653](https://github.com/SocialGouv/carte-jeune-engage/commit/5af965371344798bbb735810198cc0606cbaa894))
- middleware check user complete ([5af9653](https://github.com/SocialGouv/carte-jeune-engage/commit/5af965371344798bbb735810198cc0606cbaa894))

## [0.70.9](https://github.com/SocialGouv/carte-jeune-engage/compare/v0.70.8...v0.70.9) (2024-11-20)

Expand Down
2 changes: 1 addition & 1 deletion webapp/src/pages/dashboard/wallet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function Wallet() {
...currentUserCoupons,
...currentUserOrders,
].sort(
(a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime()
(a, b) => new Date(b.updatedAt).getTime() - new Date(a.updatedAt).getTime()
);

return (
Expand Down

0 comments on commit 667ba0e

Please sign in to comment.