diff --git a/src/pages/paymentPage.tsx b/src/pages/paymentPage.tsx index 3bb3dec..07ee29f 100644 --- a/src/pages/paymentPage.tsx +++ b/src/pages/paymentPage.tsx @@ -174,5 +174,24 @@ const SuccessfulPayment = () => { ); }; +const CancelledPayment = () => ( +
+
+

+ ❌ Payment Was Cancelled +

+

+ Checkout Details about your carts If you wish to adjust ! +

+

Thank you for shopping with us.

+ + + + +
+
+); export default Payment; -export { SuccessfulPayment }; +export { SuccessfulPayment, CancelledPayment }; diff --git a/src/routes/AppRoutes.tsx b/src/routes/AppRoutes.tsx index 7d68147..ce5cc50 100644 --- a/src/routes/AppRoutes.tsx +++ b/src/routes/AppRoutes.tsx @@ -33,7 +33,10 @@ import BuyerOrders from "../pages/BuyerOrders"; import SignupVerification from "../pages/SignupVerification"; import SmoothScroll from "../utils/SmoothScroll"; import NotFound from "../pages/NotFound"; -import Payment, { SuccessfulPayment } from "../pages/paymentPage"; +import Payment, { + CancelledPayment, + SuccessfulPayment, +} from "../pages/paymentPage"; const AppRoutes = () => { const navigate = useNavigate(); @@ -60,57 +63,57 @@ const AppRoutes = () => { return ( - - }> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - - } /> - } /> - } /> - } /> - } /> + + }> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + + } /> + } /> + } /> + } /> + } /> - - - - )} - /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } - /> - } - /> - } /> - } /> - + + + + )} + /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } + /> + } + /> + } /> + } /> + ); };