feat: const for routes and init profile page

This commit is contained in:
caturbgs
2021-12-10 14:54:25 +07:00
parent 6a364fe8b4
commit 537e009380
8 changed files with 69 additions and 39 deletions

View File

@@ -3,6 +3,7 @@ import {Button, Card, Col, Input, Row, Tabs} from "antd";
import {FilterOutlined,} from "@ant-design/icons";
import {BreadcumbComponent} from "../../component/BreadcumbComponent";
import {Pulsa} from "./Pulsa";
import {LINKS} from "../../routes/app";
const {TabPane} = Tabs;
const {Search} = Input;
@@ -13,11 +14,11 @@ export const Transaction = () => {
};
const routeData = [
{
route: "/app/home",
route: LINKS.HOME,
name: "Home",
},
{
route: "/app/transaction",
route: LINKS.TRANSACTION,
name: <span style={{fontWeight: 'bold'}}>Transaction</span>,
},
];