feat: add payback page

This commit is contained in:
caturbgs
2021-12-15 13:54:41 +07:00
parent 324dd47709
commit 5e3f8fa3a2
7 changed files with 568 additions and 116 deletions

View File

@@ -8,6 +8,7 @@ import {Profile} from "../pages/Profile/Profile";
import {Commission} from "../pages/Config/Commission";
import {Partner} from "../pages/Config/Partner";
import {Supplier} from "../pages/Config/Supplier";
import {Payback} from "../pages/Payback/Payback";
export const LINKS = {
@@ -20,7 +21,8 @@ export const LINKS = {
PARTNER: "/app/partner",
COMMISSION: "/app/commission",
SUPPLIER: "/app/supplier",
PAYBACK: "/app/payback",
};
export const AppRoute = () => {
@@ -46,6 +48,9 @@ export const AppRoute = () => {
<Route path={LINKS.TRANSACTION}>
<Transaction/>
</Route>
<Route path={LINKS.PAYBACK}>
<Payback/>
</Route>
<Route path={LINKS.ABOUT}>
<About/>
</Route>