File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed
packages/htmldocs/src/app Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " htmldocs " : patch
3+ ---
4+
5+ add loader
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ export const SidebarDirectoryChildren = (props: {
7777
7878 return (
7979 < Link
80- prefetch
8180 href = { {
8281 pathname : `/preview/${ documentSlug } ` ,
8382 search : searchParams . toString ( ) ,
Original file line number Diff line number Diff line change 1+ 'use client' ;
2+
3+ import { Shell } from "~/components/shell" ;
4+ import path from "path" ;
5+ import { Spinner } from "@phosphor-icons/react" ;
6+
7+ export default function Loading ( ) {
8+ return (
9+ < Shell pathSeparator = { path . sep } >
10+ < div className = "flex items-center justify-center h-[calc(100vh_-_70px)]" >
11+ < Spinner className = "h-6 w-6 text-slate-700 animate-spin" />
12+ </ div >
13+ </ Shell >
14+ ) ;
15+ }
You can’t perform that action at this time.
0 commit comments