diff --git a/apps/client/src/components/feature/aside-nav/components/entry-list/entry-list-skeleton.component.tsx b/apps/client/src/components/feature/aside-nav/components/entry-list/entry-list-skeleton.component.tsx new file mode 100644 index 0000000..7fe66dc --- /dev/null +++ b/apps/client/src/components/feature/aside-nav/components/entry-list/entry-list-skeleton.component.tsx @@ -0,0 +1,18 @@ +import { Skeleton } from "@/components/ui/skeleton"; + +export function EntryListSkeleton() { + return ( + + ); +} diff --git a/apps/client/src/components/feature/aside-nav/views/desktop/desktop.view.component.tsx b/apps/client/src/components/feature/aside-nav/views/desktop/desktop.view.component.tsx index e62d31d..8efb063 100644 --- a/apps/client/src/components/feature/aside-nav/views/desktop/desktop.view.component.tsx +++ b/apps/client/src/components/feature/aside-nav/views/desktop/desktop.view.component.tsx @@ -1,6 +1,7 @@ import { Hr } from "@/components/ui/hr"; -import { type ReactNode } from "react"; +import { Suspense, type ReactNode } from "react"; import { EntryList } from "../../components/entry-list"; +import { EntryListSkeleton } from "../../components/entry-list/entry-list-skeleton.component"; export function DesktopAsideView({ children }: { children: ReactNode }) { return ( @@ -8,7 +9,9 @@ export function DesktopAsideView({ children }: { children: ReactNode }) { );