feat: init profile page layout
This commit is contained in:
@@ -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}/>
|
||||
|
||||
Reference in New Issue
Block a user