added mermaid diagram

This commit is contained in:
sara-pervana
2024-01-14 14:39:01 +01:00
committed by Sara Pervana
parent 47700b7bd0
commit 7b2b675c2c
8 changed files with 367 additions and 13 deletions

View File

@@ -1,13 +1,16 @@
"use client";
import { useAppState } from "@/components/hooks/useAppContext";
import { NoDataOverlay } from "@/components/noDataOverlay";
import SummaryDetails from "@/components/summary_card";
import CustomTable from "@/components/table";
import { HomeTableConfig } from "@/config/home";
import dynamic from "next/dynamic";
import { useEffect } from "react";
import { mutate } from "swr";
const NoSSRSequenceDiagram = dynamic(() => import('../../components/sequence_diagram'), { ssr: false })
export default function Home() {
const { data } = useAppState();
@@ -51,7 +54,7 @@ export default function Home() {
<div>
<h4>Sequence Diagram</h4>
<NoDataOverlay label="No Activity yet" />
<NoSSRSequenceDiagram />
</div>
</div>
);