Added updating of display name to profile. Added employees table.
This commit is contained in:
@@ -2,7 +2,6 @@ import { BackTop, Layout } from "antd";
|
||||
import React, { lazy, Suspense, useEffect } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Route } from "react-router";
|
||||
import ChatWindowContainer from "../../components/chat-window/chat-window.container";
|
||||
import ErrorBoundary from "../../components/error-boundary/error-boundary.component";
|
||||
import FooterComponent from "../../components/footer/footer.component";
|
||||
//Component Imports
|
||||
@@ -25,6 +24,9 @@ const JobsDocumentsPage = lazy(() =>
|
||||
const JobsAvailablePage = lazy(() =>
|
||||
import("../jobs-available/jobs-available.page.container")
|
||||
);
|
||||
const ChatWindowContainer = lazy(() =>
|
||||
import("../../components/chat-window/chat-window.container")
|
||||
);
|
||||
|
||||
const { Header, Content, Footer, Sider } = Layout;
|
||||
//This page will handle all routing for the entire application.
|
||||
@@ -41,17 +43,9 @@ export default function Manage({ match }) {
|
||||
<HeaderContainer />
|
||||
</Header>
|
||||
<Layout>
|
||||
<Sider
|
||||
collapsible
|
||||
defaultCollapsed
|
||||
theme="light"
|
||||
collapsedWidth={0}
|
||||
width={300}
|
||||
>
|
||||
<chatWindowContainer />
|
||||
</Sider>
|
||||
<ChatWindowContainer />
|
||||
|
||||
<Content className="content-container" style={{ margin: "50px" }}>
|
||||
<Content className="content-container" style={{ margin: "0px" }}>
|
||||
<ErrorBoundary>
|
||||
<Suspense
|
||||
fallback={
|
||||
|
||||
Reference in New Issue
Block a user