* refactor: move feature-flags, calendars, and schedules components from packages/features to apps/web/modules Co-Authored-By: benny@cal.com <sldisek783@gmail.com> * fix * fix * fix * fix: move DatePicker and DateOverrideInputDialog to apps/web/modules and update imports Co-Authored-By: benny@cal.com <sldisek783@gmail.com> * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * rename * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * wip * wip * wip * fix unit tests --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
30 lines
686 B
TypeScript
30 lines
686 B
TypeScript
"use client";
|
|
|
|
import { Suspense } from "react";
|
|
|
|
import NoSSR from "@calcom/lib/components/NoSSR";
|
|
import { SkeletonText, SkeletonContainer } from "@calcom/ui/components/skeleton";
|
|
|
|
import { FlagAdminList } from "../components/FlagAdminList";
|
|
|
|
const SkeletonLoader = () => {
|
|
return (
|
|
<SkeletonContainer>
|
|
<div className="divide-subtle mb-8 mt-6 stack-y-6">
|
|
<SkeletonText className="h-8 w-full" />
|
|
<SkeletonText className="h-8 w-full" />
|
|
</div>
|
|
</SkeletonContainer>
|
|
);
|
|
};
|
|
|
|
export const FlagListingView = () => {
|
|
return (
|
|
<NoSSR>
|
|
<Suspense fallback={<SkeletonLoader />}>
|
|
<FlagAdminList />
|
|
</Suspense>
|
|
</NoSSR>
|
|
);
|
|
};
|