* wip * chore: wip * fix: preserved old component * fix * fix: seperate route added * fix * Only return user ID of project members * Return issue ID * fix: recents api integrations * fix: types * fix: types * fix: added tooltips * chore: added apis --------- Co-authored-by: sangeethailango <sangeethailango21@gmail.com> Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
28 lines
784 B
TypeScript
28 lines
784 B
TypeScript
"use client";
|
|
|
|
import { observer } from "mobx-react";
|
|
// components
|
|
import { PageHead, AppHeader, ContentWrapper } from "@/components/core";
|
|
// hooks
|
|
import { WorkspaceHomeView } from "@/components/home";
|
|
import { useWorkspace } from "@/hooks/store";
|
|
// local components
|
|
import { WorkspaceDashboardHeader } from "../header";
|
|
|
|
const WorkspaceDashboardPage = observer(() => {
|
|
const { currentWorkspace } = useWorkspace();
|
|
// derived values
|
|
const pageTitle = currentWorkspace?.name ? `${currentWorkspace?.name} - Home` : undefined;
|
|
|
|
return (
|
|
<>
|
|
<AppHeader header={<WorkspaceDashboardHeader />} />
|
|
<ContentWrapper>
|
|
<PageHead title={pageTitle} />
|
|
<WorkspaceHomeView />
|
|
</ContentWrapper>
|
|
</>
|
|
);
|
|
});
|
|
|
|
export default WorkspaceDashboardPage;
|