From cbdeb4a56964fd9c762927d434df4d29cfe7533c Mon Sep 17 00:00:00 2001 From: Moe <moe@chocola.dev> Date: Mon, 23 May 2022 01:31:47 +0700 Subject: [PATCH] Fix routing in payment page --- lib/components/payment_body.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/payment_body.dart b/lib/components/payment_body.dart index b59b888..d464512 100644 --- a/lib/components/payment_body.dart +++ b/lib/components/payment_body.dart @@ -204,7 +204,7 @@ class _PaymentBodyState extends State<PaymentBody> { borderRadius: BorderRadius.circular(18.0), side: const BorderSide(color: Color(0xff8B0000))))), onPressed: () { - Navigator.pushReplacementNamed(context, ''); + Navigator.pushReplacementNamed(context, '/transactions'); }, child: const Text( 'Transaction',