diff --git a/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/ListOrders/CompletedOrders.tsx b/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/ListOrders/CompletedOrders.tsx index faf2922ee8..40796db690 100644 --- a/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/ListOrders/CompletedOrders.tsx +++ b/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/ListOrders/CompletedOrders.tsx @@ -102,7 +102,11 @@ export const CompletedOrders = () => { })} - + ) } @@ -254,4 +258,7 @@ const styles = StyleSheet.create({ flexDirection: 'row', alignItems: 'center', }, + counter: { + paddingVertical: 16, + }, }) diff --git a/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/ListOrders/mapOrders.ts b/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/ListOrders/mapOrders.ts index e3e7fcaca6..544542d794 100644 --- a/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/ListOrders/mapOrders.ts +++ b/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/ListOrders/mapOrders.ts @@ -93,6 +93,7 @@ export const mapCompletedOrders = (orders: TransactionInfo[], wallet: YoroiWalle } }) .filter(isNonNullable) + .sort((a, b) => (a.date > b.date ? -1 : 1)) return result }