File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ "use server" ;
2+
13import { connection } from "next/server" ;
24
35export default async function DoYouKnow ( ) {
@@ -26,5 +28,3 @@ export default async function DoYouKnow() {
2628 </ div >
2729 ) ;
2830}
29-
30- export { DoYouKnowSkeleton } from "./skeleton" ;
Original file line number Diff line number Diff line change 11import { Skeleton } from "@/components/ui/skeleton" ;
22
3- export function DoYouKnowSkeleton ( ) {
3+ export default function DoYouKnowSkeleton ( ) {
44 return (
55 < div className = "flex flex-col justify-center gap-2 text-center" >
66 < div className = "text-sm text-gray-500" > 你知道嗎?</ div >
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ import { Logo } from "@/components/logo";
22import type { Metadata } from "next" ;
33import Link from "next/link" ;
44import { Suspense } from "react" ;
5- import DoYouKnow , { DoYouKnowSkeleton } from "./_components/do-you-know" ;
5+ import DoYouKnow from "./_components/do-you-know" ;
6+ import DoYouKnowSkeleton from "./_components/do-you-know/skeleton" ;
67import GithubLink from "./_components/github-link" ;
78import { LoginForm } from "./_components/login-form" ;
89import { UpstreamStatus , UpstreamStatusPlaceholder } from "./_components/status" ;
You can’t perform that action at this time.
0 commit comments