Skip to content

Commit

Permalink
Update route.tsx
Browse files Browse the repository at this point in the history
Required changes have been done in other to format the route.tst to replace userInfo with RecipientInfo.
  • Loading branch information
Tekum-Emmanuella authored May 7, 2024
1 parent 6584798 commit e29b487
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions power-pay-frontend/src/components/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
} from "react-router-dom"
;
import PaymentOptions from "./paymentoption";
import UserInfo from "./userinfo";
import RecipientInfo from "./RecipientInfo";
import QRScannerComponent
from "./scan_rq";
const router = createBrowserRouter([
Expand All @@ -12,12 +12,12 @@ const router = createBrowserRouter([
element: <PaymentOptions/>,
},
{
path: "/userinfo",
element: <UserInfo/>,
path: "/RecipientInfo",
element: <RecipientInfo.tsx/>,
},
{
path: "/qRScannerComponent",
element: <QRScannerComponent/>,
}
]);
export default router;
export default router;

0 comments on commit e29b487

Please sign in to comment.