mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-02-01 01:13:38 +00:00
26 lines
644 B
TypeScript
26 lines
644 B
TypeScript
|
import { Suspense } from "react";
|
||
|
|
||
|
import { Separator } from "@/components/ui/separator";
|
||
|
import { checkSubscription } from "@/lib/subscription";
|
||
|
|
||
|
import { Info } from "./_components/info";
|
||
|
import { BoardList } from "./_components/board-list";
|
||
|
|
||
|
const OrganizationIdPage = async () => {
|
||
|
const isPro = await checkSubscription();
|
||
|
|
||
|
return (
|
||
|
<div className="w-full mb-20">
|
||
|
<Info isPro={isPro} />
|
||
|
<Separator className="my-4" />
|
||
|
<div className="px-2 md:px-4">
|
||
|
<Suspense fallback={<BoardList.Skeleton />}>
|
||
|
<BoardList />
|
||
|
</Suspense>
|
||
|
</div>
|
||
|
</div>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default OrganizationIdPage;
|