feat: init profile page layout

This commit is contained in:
caturbgs
2021-12-10 15:02:44 +07:00
parent c8faca652d
commit ed278b61fc
2 changed files with 42 additions and 17 deletions

View File

@@ -4,6 +4,7 @@ import {About} from "../pages/About/About";
import {Membership} from "../pages/Membership/Membership";
import {Product} from "../pages/Product/Product";
import {Transaction} from "../pages/Transaction/Transaction";
import {Profile} from "../pages/Profile/Profile";
export const LINKS = {
HOME: "/app/home",
@@ -32,7 +33,7 @@ export const AppRoute = () => {
<About/>
</Route>
<Route path={LINKS.PROFILE}>
<About/>
<Profile/>
</Route>
<Route path="/app" exact>
<Redirect to={LINKS.HOME}/>