feat: const for routes and init profile page
This commit is contained in:
@@ -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>,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user