Simplified profile page BOD-323
This commit is contained in:
@@ -1,20 +1,12 @@
|
||||
import { Layout } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import ProfileContent from "../../components/profile-content/profile-content.component";
|
||||
import ProfileSideBar from "../../components/profile-sidebar/profile-sidebar.component";
|
||||
import React from "react";
|
||||
import ProfileMyComponent from "../../components/profile-my/profile-my.component";
|
||||
import ProfileShopsContainer from "../../components/profile-shops/profile-shops.container";
|
||||
|
||||
export default function ProfilePage() {
|
||||
const [sidebarSelection, setSidebarSelection] = useState({ key: "profile" });
|
||||
return (
|
||||
<Layout>
|
||||
<ProfileSideBar
|
||||
sidebarSelection={sidebarSelection}
|
||||
setSidebarSelection={setSidebarSelection}
|
||||
/>
|
||||
|
||||
<Layout.Content>
|
||||
<ProfileContent sidebarSelection={sidebarSelection} />
|
||||
</Layout.Content>
|
||||
</Layout>
|
||||
<div>
|
||||
<ProfileMyComponent />
|
||||
<ProfileShopsContainer />;
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user